Zouari Fourat wrote:
> Robin :
>       $i='2';
>       if (preg_match('/^(20|1[0-9]|1-9])$/', $i)) {

You are missing a [ before the 1-9 in after the last |

The regex WILL work if you type it correctly :-)

-- 
Like Music?
http://l-i-e.com/artists.htm

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

Reply via email to