I have a list of users on my web page echoed using a PHP loop. The names are links look like this.
<a href="user.php?user={$user['id']}">{$user['username']}</a>
So, when I click on each user, I am taken to user.php
page.
user.php
displays each user's information based on the query parameter $user['id']
in the URL. Using $_GET['id']
method.
So, that's the current situation I have.
What I now want to do is, display user's information in a Bootstrap Model
So, how could I get that query parameter into the Bootstrap model. And do the same PHP processes to get the same functionality ?