Does this work? >> if(strlen($cust_adres = trim($cust_adres)) > 50){ /*code here*/ } I mean that the new $cust_adres is trimmed when nessecary? regards Bart
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]