Jump to content

operators


Brendan

Recommended Posts

How would i go about searching a mysql database for a value greater than one number and less than or equal to another, and visa versa?

For Example
if ($price=="3") {$op.="(price>61.00 && price<=100.99)";}    

This doesnt work of course, but perhaps it will give an idea of what im trying to achieve.

Thanks,
-Brendan


Link to comment
https://forums.phpfreaks.com/topic/17433-operators/
Share on other sites

  • 3 weeks later...

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.