Page 1 of 1
Was working... now is not :(
Posted: Tue Oct 22, 2002 10:41 am
by Zoram
This runs on the main page of the site, but on one page it stopped working and gave me :
Warning: mysql_query(): 1 is not a valid MySQL-Link resource ...
It was working fine last night... is it a glitch or did i script something wrong?
Posted: Tue Oct 22, 2002 10:47 am
by qads
did u check your mysql table? it might have something wrong with it, happens to me all the time.
Posted: Tue Oct 22, 2002 10:50 am
by Zoram
What would be wrong with the table?
Posted: Tue Oct 22, 2002 11:02 am
by qads
could be corrupted...
Posted: Tue Oct 22, 2002 11:12 am
by Zoram
Then why would it work on all the pages but one?
Posted: Tue Oct 22, 2002 11:16 am
by qads
hmm..i should really read all of the post before posting
show us the code then

Fixed it
Posted: Tue Oct 22, 2002 6:23 pm
by Zoram
Sorry to take up your time. I fixed it. I had changed the way that i did the database connection and had an extra close function in the script. Thanks!