On Sunday 03 November 2002 20:58, John Coder wrote: > > Try adding some error checking into your code (see manual examples) and > > using mysql_error() to find out what's going. > > What error checking to insert into this code I'm clueless. I found out Again, have a look at the examples in the manual (the MySQL functions section). The example which starts the chapter shows quite explicitly how you should (i) establish a connection to the mysql server (ii) select a database to query (iii) perform a query (iv) display the results of the query And for good measure you should alter the die() statements to incorporate a mysql generated error message: die("xxxx...." . mysql_error()); Once you get that example working, you can modify (one step at a time) to suit your needs. -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* Spock: The odds of surviving another attack are 13562190123 to 1, Captain. */ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php