Hi, Tuesday, October 1, 2002, 5:11:08 PM, you wrote: PO> $title_err = ($adTitle == "") ? 1 : strlen($adTitle) > 50 ? 2 : 0;
PO> Can anyone tell me why this is not evaluating correctly (returning a PO> value of 1) when $adTitle is an empty string? It is right according to your expression, try ($adTitle != "") -- regards, Tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php