$title_err = ($adTitle == "") ? 1 : strlen($adTitle) > 50 ? 2 : 0;
Can anyone tell me why this is not evaluating correctly (returning a value of 1) when $adTitle is an empty string? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php