Quote:
Originally Posted by chrishirst
$formname="";
|
I tried that already. It didn't work but I have realised in the meantime that my $allgood variable doesn't get set properly because my script can't really tell if all the conditions have been met all at the same time.
To remedy that, now every validator condition adds a value to an array. I need a script to check if there is an instance of “no” in the array. If there is none then the $allgood gets set to “ok” otherwise $allgood = “no”. I've figured out a way of doing it but as usual, it doesn't work. I'm just trying to create a working script. If I'm successful I'll post it here.
My array is called $data and here is the print_r output in case anyone wants to have a go:
Array ( [0] => no [1] => no [2] => yes [3] => no [4] => yes [5] => no [6] => yes [7] => no [8] => yes [9] => no )
This form is really giving me headache. 
__________________
THE FORCE is with me at last! All I need now is some TALKUPATION ;)
|