Found the problem. I had a typo on my conditional statement. if( $fix->ValArray( $_POST['add_order_items'] === -1 ) ) { $errors['add_order_array'] = $erlink; } Should have been: if( $fix->ValArray( $_POST['add_order_items'] ) === -1 ) { $errors['add_order_array'] = $erlink; } My eyes need to be checked or start exercising my fat fingers. Instruct ICC wrote: > Wow this formatted badly. (new hotmail on Safari -- MS made FF not even render well) > > Anyway, are you sure you are reaching the code you want to reach? > Perhaps !== is overkill and maybe even wrong when you should use ==. > > Same with the other === usage? > > Try some > echo "HERE1\n"; > echo "HERE2\n"; > to see if you are getting to the line you expect. Like after that "count(~) !== ". > > _________________________________________________________________ > Gear up for Halo® 3 with free downloads and an exclusive offer. It’s our way of saying thanks for using Windows Live™. > http://gethalo3gear.com?ocid=SeptemberWLHalo3_WLHMTxt_2 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php