RE: [PHP-DB] Need Help with returning new id's

2002-03-19 Thread Gurhan Ozen
Hi, Did you copy and paste your code?IF yes, I have noticed a problem on the code you posted.. Y The line: $run_query = ($maxid,$db_connect); will fail as you didn't put the function name in. Rewrite it as: $run_query = mysql_query($maxid,$db_connect); Gurhan -Original Message- Fro

RE: [PHP-DB] Need Help with returning new id's

2002-03-19 Thread Rick Emery
first, it helps if you show us your REAL code. The query statement you showed below would obviously not work (it's missing the "mysql_query" part. Second, when executing mysql_query() ALWAYS include the "or die(mysql_error())" part to aid diagnostics. Third, your query could not possibly work at