[PHP-DB] Works with one server and not the other

2002-06-24 Thread Christine Clerc
Hi, I want to populate two related tables : here is the code include (connect.php); $req=select * from tab where num='$mod'; $result=mysql_query($req,$db); if ($ligne=mysql_fetch_array($result)) //if the data is already there do nothing

Re: [PHP-DB] Works with one server and not the other

2002-06-24 Thread szii
PROTECTED] Sent: Monday, June 24, 2002 2:48 PM Subject: [PHP-DB] Works with one server and not the other Hi, I want to populate two related tables : here is the code include (connect.php); $req=select * from tab where num='$mod'; $result=mysql_query($req,$db); if ($ligne=mysql_fetch_array