Jump to content

help with finding results from a search


zelig

Recommended Posts

Okay, I'm wanting to do a search, but until return the info if it has a specific indicator in the chosen field.

 

Let me show you:

$query = doquery("SELECT * FROM `orgs` IF `type`='c' ORDER BY name", "orgs");

 

How do I do that "IF" bit? Obviously this doesn't work.

 

Thanks!

Link to comment
https://forums.phpfreaks.com/topic/257723-help-with-finding-results-from-a-search/
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.