<?php
while ($row = mysql_fetch_array($result)) { echo "
<script>
function openlisting(){
var popurl="list.php?id={$row['listnum']}"
winpops=window.open(popurl,"","width=500,height=400,")
}
</script>";
$submit = explode('-', $row['date']);
echo "<tr>";
echo "<td><a href="javascript:openlisting()">{$row['listnum']}</a></td>";
}
?>
how come the popup function all points to the same {$row['listnum']}...i want to link the {$row['listnum']} to list.php?id={$row['listnum']} with a pop up... is there any way of doing this??
Last edited by dakkonz on Sat May 22, 2004 3:08 am, edited 2 times in total.