Thanks at All
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 08.04.2002 14:23, you wrote:
>Hy,
>
>I try to do a SELECT but when I test my code I Have a parse error.
>If someone can explain to me why.
>
>Code:
>
>$db = mysql_connect(newsmanga_db);
>$req = "SELECT * FROM dvds WHERE nomdvd='".$nom."".$i"' "; /// PARSE
>ERROR IN THIS LINE
Try this :
$req
On Mon, 8 Apr 2002, [iso-8859-1] Jérome Moisy wrote:
> Hy,
>
> I try to do a SELECT but when I test my code I Have a parse error.
> If someone can explain to me why.
>
> Code:
>
> $db = mysql_connect(newsmanga_db);
> $req = "SELECT * FROM dvds WHERE nomdvd='".$nom."".$i"' "; /// PARSE ERROR IN T
Hi
the error appears because of the comas erroned syntaxis.
why don't u try something easire as that :
$varalacon = $nom."".$i; (i don't know if there is a space or not...in
bold)
$req = "SELECT * FROM dvds WHERE nomdvd='$varalacon' ";
Hope it helps
SR
Jérome Moisy a écrit :
> Hy, I try to d
At 02:23 PM 4/8/2002 +0200, you wrote:
>Hy,
>
>I try to do a SELECT but when I test my code I Have a parse error.
>If someone can explain to me why.
>
>Code:
>
>$db = mysql_connect(newsmanga_db);
>$req = "SELECT * FROM dvds WHERE nomdvd='".$nom."".$i"' "; /// PARSE
>ERROR IN THIS LINE
Your miss
5 matches
Mail list logo