Re: ummm i am confused

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Water_foul" <phpdbnews@xxxxxxxxxxxxxxxxxxx> wrote in message
news:20040626152304.81242.qmail@xxxxxxxxxxxxxxx
> i get the following error:
> Parse error: parse error, unexpected ';' in
>
C:\Inetpub\localroot\aichlmayr.net\sites\aaron\module\runescape\runerunner\s
> ervices.php on line 4
> from the following code:
> <?php
> 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)

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

Regards, Torsten Roehr

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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux