Check if Whole Number


/ Published in: PHP
Save to your folder(s)

Checking values if not whole number


Copy this code and paste it in your HTML
  1. if(!ctype_digit(srvGetData("QD1")))
  2. {
  3. errorMsg("Please enter whole number");
  4. return;
  5. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.