PHP works, mysql works, but when I call mysql_connect, nothing happens. What can I do?
|
feedback
|
closed as not a real question by Zoredache, Warner, John Gardeniers, Sam♦, Zypher♦ Jun 17 '10 at 20:16
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. See the FAQ for guidance on how to improve it.
|
I'm guessing you need to enable error reporting in your php.ini file. Or you can set this just within your script by adding these two lines:
That way you can see some error messages, and go from there. | |||||||||||
feedback
|
mysql_error()? – Zoredache Jun 14 '10 at 23:57