hy guys..need some help here..how to popup a new window..i've been searching for the answer for many times..i want to popup the details via id.. here's my code:
while ($row=mysql_fetch_array($sql)){$id=$row["id"];echo <TD><div align='center'><a href=\"javascript:winpopup();\">Details</a></div></TD></TR>";
thx for ur help!
Just add the id to the url of the page you want to open:
mynewpage.php?id=<?php echo $row[id']; ?>
In mynewpage.php grab the contents from $_GET['id'] and do whatever you want with it.