PHP works, mysql works, but when I call mysql_connect, nothing happens. What can I do?
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. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.
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.