Jump to content

select query


dudejma

Recommended Posts

Hey guys,

 

I'm only needing PIREPs submitted by users 001 and 003 to show up if $permission == 2. I have this select query, but it doesn't work. What's missing? I'm not the best at the between/and/or thing:

 

$result = mysql_query("SELECT * FROM pireps WHERE status = '0' AND pilotID = '001' AND pilotID = '003'")

Link to comment
https://forums.phpfreaks.com/topic/244075-select-query/
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.