Jump to content

Help with simple statement


jimmyp3016

Recommended Posts

Hey guys,

 

Im pretty new to php and mysql and was wondering how to write an if statement that checks 2 conditions.

 

Here is what im trying to do.

------------------------------------------------

If password = blank AND membership = 2

 

echo "whatever i want"

 

Else

 

echo "nothing"

------------------------------------------------

 

Could someone help me out with this real quick?  Thanks!

Link to comment
https://forums.phpfreaks.com/topic/38705-help-with-simple-statement/
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.