I have done simple form validation using the empty() code, but I need something like:
Code: Select all
if (comments == "# of characters") {
echo "sorry please try again";
}--
Greg
Moderator: General Moderators
Code: Select all
if (comments == "# of characters") {
echo "sorry please try again";
}meaning?gkwhitworth wrote:Now remember, the form isn't be sent with PHP so there are no variables to pass or anything.
It is using POST, but I didn't want people to think that the form was using PHP, I now realize that that really doesn't matter, but I thought I would cover my bases.Is the form's method post or get?