Passing data from table to modal using PHP
问题 Whenever I clicked the view button, in a specific person, the modal is giving me a wrong data. I clicked Paul's data from the table, and the modal is giving me Kharen's data, I want to display the correct data when selected. PHP code so far for displaying of table only <?php $rs = $PDOCon->prepare("SELECT * FROM applicant) "); if ($rs->execute()) { }else{ echo "<script type='text/javascript'>alert('Invalid ID!');</script>"; } $str="<div class='demo_jui'><table style='color: black;'