Maybe rename your page to loose.php
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
I keep getting a Parsing Error on line 1 error with the following page.
What am I doing wrong?
http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd";>
xxx
\n";
echo "
Store
Job Desc
\n";
while (($row = mysql_fetch_array($result))) {
$store=$row["store"];
I don't see why you are using printf there try print instead or echo ;)0
-Original Message-
From: Jeff Grossman [mailto:[EMAIL PROTECTED]]
Sent: Saturday, July 07, 2001 6:56 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] Parsing Error
Thanks Larry.
Now I am getting a printf to
your call to mysql_query is incorrect
>" after the query then "," then the link resource
>
>-Original Message-
>From: Jeff Grossman [mailto:[EMAIL PROTECTED]]
>Sent: Saturday, July 07, 2001 6:23 PM
>To: [EMAIL PROTECTED]
>Subject: [PHP-DB] Parsing Error
>
After a brief look it appears that your call to mysql_query is incorrect
" after the query then "," then the link resource
-Original Message-
From: Jeff Grossman [mailto:[EMAIL PROTECTED]]
Sent: Saturday, July 07, 2001 6:23 PM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] P
I keep getting the following error:
Warning: Supplied argument is not a valid MySQL result resource in
/home/httpd/html/stats/jobs/listing.php on line 33
Warning: Supplied argument is not a valid MySQL result resource in
/home/httpd/html/stats/jobs/listing.php on line 43
when I try to display t
Thanx, will try. Curious: using the Professional PHP Programming book, and got
the other code which didn't work. How is one to know how to move these things
around? Just practice and error?
Can you help with this also, can't get the Generate . . . functions to respond,
such as:
test");
}
?>
is t
Here you go:
Error " . mysql_errno() . ": " . mysql_error() .
"");}
else{echo("Query executed successfully!");}
?>
-Jim
- Original Message -
From: "Marc Bragg" <[EMAIL PROTECTED]>
To: "Jim" <[EMAIL PROTECTED]>
S
> if ($result == 0);
You have a wrong semicolon at the end of the line above.
Jayme.
http://www.conex.com.br/jjeffman
-Mensagem Original-
De: Marc Bragg <[EMAIL PROTECTED]>
Para: <[EMAIL PROTECTED]>
Enviada em: sábado, 3 de fevereiro de 2001 20:44
Assunto: [PHP-DB
Another strange error, parsing:
Error " . mysql_errno() . ": " . mysql_error() . "");
elseif (mysql_num_rows($result) == 0);
echo("Query executed successfully!");
else:
?>
on the 'elseif' statement.
suggestions? is there a parse checker, that identifies errors?
--
PHP Database Mailing List (
10 matches
Mail list logo