FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

Problems......with Mysql....

 


why6487
Hi,
I have a registration system your my little brother's club (on ej.am).
However when PHP executes this code:
Code:
mysql_connect("localhost", "steinbor_sa", "sa");

It saids:
Quote:
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/steinbor/public_html/sanddclub/register2.php on line 3

Help me please!
MrBlueSky
Can you post the lines you have before this one?
why6487
MrBlueSky, before the line is a echo statement.
Code:
echo "You are done! Just have fun!"
MrBlueSky
Add a semicolon ( ; ) to the echo-line Smile

Code:

echo "You are done! Just have fun!";


In PHP every line needs to end with a semicolon.
why6487
Thank you, Mr. BlueSky!
phpc0d3r
If you downloaded the code, it's the coder's fault.
If you are a coder shame...
Oh well, we all make mistakes.

I'm guessing you were the first one.
Good luck w/ it.
Post if you have anymore problems mate.
why6487
phpc0d3r wrote:
If you downloaded the code, it's the coder's fault.
If you are a coder shame...
Oh well, we all make mistakes.

I'm guessing you were the first one.
Good luck w/ it.
Post if you have anymore problems mate.


Hello, this is solved...
mathiaus
-close-
This topic is locked: you cannot edit posts or make replies.    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.