Jump to content

Help me....


Orionsbelter

Recommended Posts

hi i have am making a ordering drop down menu for my online users to fliter out other users but am stuck at the mysql query

 

if($order='admin'){

$staff='admin';}

elseif($order='mod'){

$staff='mod';}

 

i have the staff='$staff' in my query but if the dont want to order anyone how do i make it so $staff equals all staff. so both mods and admin are shown.

Link to comment
https://forums.phpfreaks.com/topic/104992-help-me/
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.