Search found 4 matches

by ip2g
Mon Feb 09, 2009 7:08 pm
Forum: Databases
Topic: Error in Query?
Replies: 7
Views: 491

Re: Error in Query?

Yes it works!

And yes I did have more than one mySQL connection, I didn't think that would be a problem. Thanks a billion, you were a huge help!
by ip2g
Mon Feb 09, 2009 7:05 pm
Forum: Databases
Topic: Error in Query?
Replies: 7
Views: 491

Re: Error in Query?

I thought it was weird too. Maybe for some reason it's my host, I don't know why though.

Anyway I changed it to that and again no error code... this is quite the pickle, isn't it :P.
by ip2g
Mon Feb 09, 2009 6:57 pm
Forum: Databases
Topic: Error in Query?
Replies: 7
Views: 491

Re: Error in Query?

Alright good to know.

This is the error now:

Failed on: SELECT * FROM Posts WHERE postID='1'
Error:
by ip2g
Mon Feb 09, 2009 6:34 pm
Forum: Databases
Topic: Error in Query?
Replies: 7
Views: 491

Error in Query?

I honestly cannot find out what is wrong with this code. I'm fairly new at PHP so the variable $i call may be wrong, I'm not sure.   <?             $dbhost = 'localhost';             $dbuser = 'ip2g_*****';             $dbpass = '*****';             $conn = mysql_connect($dbhost, $dbuser, $dbpass) o...