I need some help. I want to know using php sql to use OR in a query.
Let me explain in detail:
I have a html form which asks the user for country,state,c ity,zip_code
I will use these values to query the database for specific data for those specific inputs.
I want the city and zip_code to be logicly use as OR. Meaning that the user only needs to select a city or type the exact zip_code....
User Profile
Collapse
-
Simple php sql question
Last edited by zmbd; May 17 '19, 12:06 PM. Reason: [z{stepped SQL so it can be read w/o scrolling :) }]
No activity results to display
Show More