Your right. I have been sitting here at this computer for 3 days straight with all the various problems, and I missed this. I need a break, I need a KitKat. Thanks to the list for all the help over the last couple of days. I'm going to watch CSI and get away from this. > Take a little closer look at what you think are elseif > statements below You are missing the else part :( > > if(empty($website)) { $formerror['website'] = "Optional"; } > if($result > > = ValidateString($website, "2")) { $formerror['website'] = > $result; } > > > > if(empty($event)) { $formerror['event'] = "Optional"; } > if($result = > > ValidateString($event, "2")) { $formerror['event'] = $result; } > > > > Again, sorry to be a pain, but I just don't get it. > > > > Thanks > > > > > > -- > PHP General Mailing List (http://www.php.net/) To > unsubscribe, visit: http://www.php.net/unsub.php > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php