Jump to content

Too Many `IFs`?


947740

Recommended Posts

I have this form:

3636505578

http://www.flickr.com/photos/39555589@N07/3636505578/

 

And I want users to be able to search by any of the fields.  My initial thought is to use if statements, but I have the feeling that would be rather complex and would result in a tough time compiling the query with so many ORs and ANDs.  Is there a simpler way to do this?

Link to comment
https://forums.phpfreaks.com/topic/162608-too-many-ifs/
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.