RE: [PHP] parse error, mysql select

2002-04-01 Thread ROBERT MCPEAK
sage- From: ROBERT MCPEAK [mailto:[EMAIL PROTECTED]] Sent: 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 successf

RE: [PHP] parse error, mysql select

2002-04-01 Thread Rick Emery
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

RE: [PHP] parse error, mysql select

2002-04-01 Thread Matt Friedman
through php. Matt Friedman Web Applications Developer 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

RE: [PHP] parse error, mysql select

2002-04-01 Thread Rick Emery
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: $query = "SELECT DA

[PHP] parse error, mysql select

2002-04-01 Thread ROBERT MCPEAK
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 wher