2007. 09. 5, szerda keltezéssel 16.31-kor Brian Welter ezt írta:
I have the following code and it doesn't behave properly but I can't find my
error. The code is designed to validate user login. When I pass in an
invalid email name to the checkLogin function it returns a result, not FALSE
as
Brian Welter wrote:
I have the following code and it doesn't behave properly but I can't find my
error. The code is designed to validate user login. When I pass in an
invalid email name to the checkLogin function it returns a result, not FALSE
as the documentation describes. I can SELECT * from
Brian Welter wrote:
I have the following code and it doesn't behave properly but I can't find my
error. The code is designed to validate user login. When I pass in an
invalid email name to the checkLogin function it returns a result, not FALSE
as the documentation describes. I can SELECT * from
Please disregard, it was a silly problem (I was echoing the SQL query and
editing that, not the main SQL query).
Jeff
- Original Message -
From: Jeff Lewis [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 20, 2002 3:04 PM
Subject: [PHP] Problem with mysql_query
mysql_query
[snip]
mySQL Error: You have an error in your SQL syntax near ''LIMIT 25,25'' at
line 1
with this query:
SELECT * FROM dvd_library WHERE genre=BUDGET ORDER BY description ASC LIMIT
25,25
[/snip]
Try
SELECT * FROM dvd_library WHERE genre = 'BUDGET' ORDER BY description ASC
LIMIT 25, 25
Also
5 matches
Mail list logo