Okay NOT asking for the code asking for direction.
I need to check and see if a variable has a numaric value or a char value.
IE -
$val1 = "2345b";
if ($val1 is all numaric) { do this....
} else { do this... }
in this instance the else would be executed because $val1 has a 'b' in it.....
thanks in advanced
- Scott
Wise men ask questions, only fools keep quite.
I need to check and see if a variable has a numaric value or a char value.
IE -
$val1 = "2345b";
if ($val1 is all numaric) { do this....
} else { do this... }
in this instance the else would be executed because $val1 has a 'b' in it.....
thanks in advanced
- Scott
Wise men ask questions, only fools keep quite.