Drewbles wrote:
> However, firstly I'm not sure how to write this and
secondly, how do you check
> if a text box is empty?
Believe it or not, with the PHP function called empty();
http://docs.php.net/manual/en/function.empty.php
if (empty($_POST['fieldName'])) {
// give a score of 0
} else {
// give a positive score
}
--
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of
ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/