i need to pop a bootstrap modal but from inside will need to make queries from a PHP variable that will vary depending on where the pop originated from.
so i have this in my file :
<a href="#" class="btn btn-md btn-success" data-toggle="modal" data-target="#editUser" id="User" data-id="UserID123"> update </a>
How can I put the value UserID123 in a php variable once in the modal so I can use it for queries ... I've been looking around but haven't seen the solution ... some suggest AJAX but i could figure out to adapt it here
Edited by Marc_5