Forum Moderators: coopster

Message Too Old, No Replies

Parse error: parse error, unexpected T CONSTANT ENCAPSED STRING

line 5

         

NiteMare

6:47 pm on Dec 1, 2006 (gmt 0)

10+ Year Member



<?
//MSSQL settings
$sql_user = 'user'; // SQL ID
$sql_pwd = pass'; // SQL PASSWORD (change it to your password mssql)
$base = 'exgame'; // SQL BASE name (dont change its by default)
$host = "192.168.0.3"; // SQL HOST (change it to your IP ex : 127.0.0.1)

$reg_open = true;
?>

______________

Everything is the same except for the user and password ;p
but if someone can please help it would be much appreciated

Psychopsia

6:59 pm on Dec 1, 2006 (gmt 0)

10+ Year Member



Hi! Welcome to WebmasterWorld!
The error is here:

$sql_pwd = 'pass';

Add single quote before 'pass

[edited by: Psychopsia at 7:00 pm (utc) on Dec. 1, 2006]

NiteMare

7:07 pm on Dec 1, 2006 (gmt 0)

10+ Year Member



lmao Thanks alot i didnt realize i missed a ' thanks for the help