Babsical
11-08-2003, 06:02 PM
I am trying to create a userbased site in PHP. But I am having some problems with the MySQL data cause I get loads of errors, I have created all the tables in the code. I was sent the code by someone who made it and said I could edit it. undesirable.org/1/ is the site which contains loads of errors. If you think you can help contact me via msn - babsical@playitforward.com. I am willing to send the script and cpanel details if you can help. cheers. x
Burhan
11-08-2003, 06:17 PM
Post some code.
The errors you are getting are because the query that you are running isn't getting executed properly, and when you try to fetch results from it, that's when you get those Warnings.
It could be anything ... your mysql server connection string is wrong, your user/password for mysql server is wrong, the actual syntax of the query is wrong, your database isn't setup properly, etc. etc.
So, paste the relevant parts of the script (ie, the database code). Don't paste the entire thing.