1st question i want to test if there is a number in string. for ex $st1,$st2,$st3.
$st1 = "wht3"; //error $st2 = "jit2j"; //error $st3 = "6fik"; //error $st4 = "fkif"; //ok
2nd question i want to test if the 1st char of string is a number.
$st1 = "3fef"; //error $st2 = "52fes"; //error $st2 = "jkk3"; //ok $st3 = "fj2if"; //ok
i was thing of using if statment but cant seem to find two right functions.
This post has been edited by Dormilich: 05 December 2012 - 04:16 AM
Reason for edit:: please use [CODE] [/CODE] tags when posting code