Jump to content

Mulitple variables


Crew-Portal

Recommended Posts

how do I assign an if statement to multiple varibles?

Like if I want it so that if a member tries to login without giving a name or password i want it to display a error but how do i do it

is it like:

 

if ($passwd || $usernm == NULL){

$error = 'You Did Not Enter A username Or Password';

}

Link to comment
https://forums.phpfreaks.com/topic/64000-mulitple-variables/
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.