User Profile
Collapse
-
thanks for the replies... my code works now but I used some other codes.. neway thanks -
how do I declare it? because after this code am using it in a condition like if $errorMessage is blank then do this or else this. But am confused on how to declare the variable "$errorMessage" . I looked for it on the net but got more confused as to different answers. Please help me :)Leave a comment:
-
Writing a condition for a variable which stores text
I have a form for registering. Am trying to prevent the person from entering too much of text for username and password but getting an error.
my code is:
...Code:$uLength = strlen($regusername); $pLength = strlen($regpassword); if ($uLength >= 7 && $uLength <= 20) { $errorMessage = ""; } else { $errorMessage = $errorMessage."Username must
No activity results to display
Show More
Leave a comment: