HouseMD Posted March 21, 2007 Posted March 21, 2007 How can i make the $4 detect if it is a number eg. if $4 isn't 1,2,3,4 etc
lil Toady Posted March 21, 2007 Posted March 21, 2007 what do you mean? $1 $2 $3 $4 etc are the numbers of parameters in a function
lil Toady Posted March 21, 2007 Posted March 21, 2007 is a number: if ($4 isnum) {} is NOT a number: if ($4 !isnum) {}
Recommended Posts