Re: [PHP-DB] Re: ummm i am confused

2004-06-26 Thread Torsten Roehr
> TR> "Water_foul" <[EMAIL PROTECTED]> wrote in message
> TR> news:[EMAIL PROTECTED]
> >> i get the following error:
> >> Parse error: parse error, unexpected ';' in
> >>
> TR>
C:\Inetpub\localroot\aichlmayr.net\sites\aaron\module\runescape\runerunner\s
> >> ervices.php on line 4
> >> from the following code:
> >>  >> file://Database Querys
> >> $dbconn = mysql_connect($dbHost , $dbName , $dbPassword)
> >>or die("Could not connect to server, incorrect username,
> >> password or host : ".mysql_error();
> >> $connection=Mysql_connect($dbHost , $dbName , $dbPassword)
>
> TR> You are missing a ; on the above line. PHP even told you on what line
the
> TR> error occurred. You do not have to post all of your code if the error
occurs
> TR> on line 4. And please choose a better subject for your posts.
> Try to translate errors better. Error is in missing bracket.


Yes, but he was still missing the ; on the connection line.

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DB] Re: ummm i am confused

2004-06-26 Thread Mikhail U. Petrov
Hi!



Saturday, June 26, 2004, 7:29:02 PM, Torsten wrote:

TR> "Water_foul" <[EMAIL PROTECTED]> wrote in message
TR> news:[EMAIL PROTECTED]
>> i get the following error:
>> Parse error: parse error, unexpected ';' in
>>
TR> C:\Inetpub\localroot\aichlmayr.net\sites\aaron\module\runescape\runerunner\s
>> ervices.php on line 4
>> from the following code:
>> > file://Database Querys
>> $dbconn = mysql_connect($dbHost , $dbName , $dbPassword)
>>or die("Could not connect to server, incorrect username,
>> password or host : ".mysql_error();
>> $connection=Mysql_connect($dbHost , $dbName , $dbPassword)

TR> You are missing a ; on the above line. PHP even told you on what line the
TR> error occurred. You do not have to post all of your code if the error occurs
TR> on line 4. And please choose a better subject for your posts.
Try to translate errors better. Error is in missing bracket.


TR> Regards, Torsten Roehr



-- 
Best regards,
Mikhail U. Petrov
mailto:[EMAIL PROTECTED]

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php