FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free 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-
Related topics
MYSQL and MYSQLI --> Which whould i use?
MySQL
CSS Problems + Cache control
Linux Problems
MYSQL import problems
Problem with MySQL Server Please Help!!
mysql problems
Directadmin Server 2 Problems
MySQL and PHP problem in the future
MySQL, ports?
Question about a php and mysql script.
Mysql datas gone!
Mysql 101 question
Joomla + mysql + Character set
Frequent problems with mysql
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-2011 Frihost, forums powered by phpBB.