When I execute from browser I get a parse error, but when I enter the
query directly into a MySQL command prompt I get a successful return.
Can anybody see the problem with this code:
$query = SELECT DATE_FORMAT( exp_date, %W, %M
%d, %Y) AS thedate from tifrequest where
] parse error, mysql select
When I execute from browser I get a parse error, but when I enter the
query directly into a MySQL command prompt I get a successful return.
Can anybody see the problem with this code:
$query = SELECT DATE_FORMAT( exp_date, %W, %M
%d, %Y
www.SpryNewMedia.com
-Original Message-
From: ROBERT MCPEAK [mailto:[EMAIL PROTECTED]]
Sent: Monday April 1, 2002 2:55 PM
To: [EMAIL PROTECTED]
Subject: [PHP] parse error, mysql select
When I execute from browser I get a parse error, but when I enter the
query directly into a MySQL command prompt I get
He's not including the ; in the SELECT statement. The ; you're seeing is at
end of the PHP statement
-Original Message-
From: Matt Friedman [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 01, 2002 2:02 PM
To: 'ROBERT MCPEAK'; [EMAIL PROTECTED]
Subject: RE: [PHP] parse error, mysql select
: Monday, April 01, 2002 1:55 PM
To: [EMAIL PROTECTED]
Subject: [PHP] parse error, mysql select
When I execute from browser I get a parse error, but when I enter the
query directly into a MySQL command prompt I get a successful return.
Can anybody see the problem with this code
5 matches
Mail list logo