sorry correct is :
if (strpos($string,"-")===0) //3*= exact match, first char is index 0 not 1
!

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to