I am reading the manual: http://ca.php.net/manual/en/ref.strings.php $mydata->restored = "0000-00-00"; How do I express this? If the first four characters are "0000", then do {} What I am looking for is in strpos(), no? if (????????????) { } -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php