Re: mysql_connect() error

From: Date: Sat, 03 Sep 2005 12:29:59 +0000
Subject: Re: mysql_connect() error
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-221810@lists.php.net to get a copy of this message
Are you sure that is the 5-th line of your script? please give us first 1-10 lines (remove confidential data) for debuging... On 9/3/05, php general help <php-general@lists.php.net> wrote: > Hi > > guys hope you can all help me here. im in the middle of making a script ( im > still quite new), anyway im getting this error Parse error: syntax error, > unexpected T_STRING in c:\wamp\www\cms\header.inc on line 5 and on line 5 is > mysql_connect($dbhost, $dbusername, $dbpassword) , i know its the > mysql_connect() function thats giving me the error though cant seem to get > it sorted. below is the versions im using > > Apache version : Apache/1.3.33 (Win32) > PHP version : 5.0.4 > MySQL version : 4.1.10a-nt - extension : mysqli > all the above come in a bundle package called ( wampserver ) > have also posted on wampservers forums for help > im using windows xp home. > > Hope you guys can help me. > > Thanks > Steve > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#221810) next »