Jump to content

[SOLVED] IGNORE STRING


howitzer

Recommended Posts

You'd have to use javascript validation.

 

Of course, you could also use it this way:

 

<?php

if (isnumeric($variable))
      {
             if ($variable <= 0 && $variable >= 10) { echo "something"; }
      }
else
      {
             echo "Not a number.";
      }

?>

Link to comment
https://forums.phpfreaks.com/topic/103432-solved-ignore-string/#findComment-529644
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.