Jump to content

[SOLVED] preg_match help


Gayner

Recommended Posts

if ($betd>= 1 && $betd<= 10) {
echo "Good Boy $betd";
}else{
echo "Why u hacking? $betd";
}

 

 

 

My $betd is 3, and it still shows "Why u hacking?"

 

It's only supposed to show that if it's out of range of 1-10 right? if not show me correct code, thanks

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.