On my website, when the button is clicked, it will prompt to a popup window. Im using the modal popup window. My problem is, I cant get the right data that being retrieved b
query($data);
while($ser=mysqli_fetch_array($result))
{
?>
" data-addr="" data-phone="" data-name="">
Place this code in footer.php or end of this page.
Call your 'somepage.php' (Separate page.Where modal-body is present) through ajax. Place this
in your JS file.
somepage.php
Create somepage.php (If you want to change this page name. Change in
too. Both are related.)
$famID=$_GET['famID'];
$famAddr=$_GET['famAddr'];
$famPhone=$_GET['famPhone'];
$famName=$_GET['famName'];
?>
Name
讨论(0)
- 热议问题