0

Hi,

I'm new to PHP, but not to computer programming. I'm trying to connect to ny MySQL database and thought I followed what the tutorial said exactly. Obviously not.

I realize that this is an error indicating a missing control character, but I have no clue as to what it would be.

Here's the statement that fails:

$dbc = mysql_connect('localhost','kotw_wdps1','D0Qy6DUuOnhZ5m9R') or die('Not connected : ' . mysql_error());

I'd appreciate it if someone could tell me why this has an error in it.

Best regards,
Michael

3
Contributors
5
Replies
6
Views
6 Years
Discussion Span
Last Post by MichaelFL
0

ARRRRGGGHHH! <slapping head /> I left off the ; on the line above. Thank you very much for that help. It is much appreciated.

0

OK mark as solved.

OK, but I'm new here. How do you mark a request as solved?

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.