RE: MySQL
Make the following changes
mysql_connect("localhost","username","password");
mysql_select_db("database");
becomes
@mysql_connect(...) or die("Unable to connect to database.");
@mysql_select_db(...) or die("Unable to select correct database.");
Edit: where (...) is your parameters above.
Do this for all the queries as well, but you could leave out the @ on them. If you're using it on a local server you may also wish to do . mysql_error()); which prints out a nice error telling you the exact problem.
Of course, this might not be where the problem is. What doesn't work?
This post was edited on 06-20-2008 at 07:41 AM by andrewdodd13.
|