Jump to content

[SOLVED] unknown column in where clause


blunerve09

Recommended Posts

I'm using the below statement to search the database for a specific city. The same exact statement works when I search the database for the zip code.

 

SELECT name, email FROM table WHERE city LIKE leesburg

 

Every time I run this query, I get an error that says:

 

Unknown column 'leesburg' in 'where clause'

 

Any ideas?

Link to comment
https://forums.phpfreaks.com/topic/62721-solved-unknown-column-in-where-clause/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.