Hi I want to know how do I check if the user input from actionscripts is a string when it is pass to php
How to check if the user input is a string?
Collapse
X
-
-
Originally posted by volectricity
to check if what the user input is a alphapertComment
-
Originally posted by Rocky86sort of checking if the user input is string like eg: letter
to check if what the user input is a alphapert
[PHP]
$postalno=subst r($_GET["postal"],0,2);
if(ctype_alpha( $postalno)){
$report.="error "."="."Erro r text enter number"."&";
echo $report;
[/PHP]Comment
Comment