Posted By

mrtonix on 05/18/12


Tagged

CType


Versions (?)

Check if Whole Number


 / Published in: PHP
 

Checking values if not whole number

  1. if(!ctype_digit(srvGetData("QD1")))
  2. {
  3. errorMsg("Please enter whole number");
  4. return;
  5. }

Report this snippet  

You need to login to post a comment.