In VB there is a function called Isnumeric which checks if a value is Numeric....If it isnt it returns false. Is there anything like this in PHP?
Also, say i have 30 txt fields and i want to check if they all hold numeric values...what is the best way to do this?
In VB I would do a Control loop and check each value...but in PHP do i have to do an IF statement with 30 comparisons?
IF (Not IsNumeric(txt1) OR Not IsNumeric(txt1) OR Not IsNumeric(txt1) etc.....)
THanks!😃