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

From: Date: Sat, 26 Jun 2004 16:02:12 +0000
Subject: Re[2]: [PHP-DB] Re: ummm i am confused
References: 1 2 3 4  Groups: php.db 
Request: Send a blank email to php-db+get-34995@lists.php.net to get a copy of this message
Hi! Saturday, June 26, 2004, 7:55:37 PM, Torsten wrote: >> TR> "Water_foul" <phpdbnews@aaron.aichlmayr.net> wrote in message >> TR> news:20040626152304.81242.qmail@pb1.pair.com... >> >> i get the following error: >> >> Parse error: parse error, unexpected ';' in >> >> >> TR> TR> 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) >> >> TR> You are missing a ; on the above line. PHP even told you on what line TR> the >> TR> error occurred. You do not have to post all of your code if the error TR> 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> Yes, but he was still missing the ; on the connection line. Oh, I missed it :) Yea, you're right, sorry. -- Best regards, Mikhail U. Petrov mailto:mikhail@begun.ru

« previous php.db (#34995) next »