I have quarried data form DB (mysql) depend on user input and viewed that on a table. originally there is 12 column on my table, but I made only 7 that shows up on the table.
I what that when i click the ID(made it as button/link) it should show a pop up menu/form with full details of that particular row contact.
the problem is, how can I view the details of each row?
also the popup doesn't work. I'm very bad at javascript(oh wait, I didn't even have the code.) and php+sql connection,
please help me, thank you!
I what that when i click the ID(made it as button/link) it should show a pop up menu/form with full details of that particular row contact.
Code:
<tr> <td><center><input type="button" value="<?php echo $row["id"];?>" onClick="detail()"></center></td> <td><?php echo $row['name']?></td> <td><?php echo $row['unit']?></td> <td><?php echo $row['telefon']?></td> <td><?php echo $row['faks']?></td> <td><?php echo $row['email']?></td> <td><?php echo $row['data']?></td> <td><?php echo $row['purpose']?></td> </tr>
also the popup doesn't work. I'm very bad at javascript(oh wait, I didn't even have the code.) and php+sql connection,
please help me, thank you!
Comment