I cannot figure out why this button does not work any suggestions
are appreciated. Thanks. 




$table = "inventory";
$sql = "SELECT * FROM $table where category='$category'";
$result = mysql_query($sql);
   
while ($myrow = mysql_fetch_array($result))
{ 
printf("<tr><td border=1 bgcolor=#A0AAB9><font face=Lucida Sans Unicode
size=4><form><input type=button value=%s
onclick=javascript:window.open('view_pict.php?picture_id=%s.gif','MyWind
ow','width=450,height=600,menubar=no,scrollbars=yes,toolbar=no,location=
no,directories=no,resizable=yes,top=0,left=0')></form></font></td></tr>
\n", $myrow["product"], $myrow["product"]);
} 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to