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

Open the bracket for the last parameter...

/^(20|1[0-9]|[1-9])$/
-------------^

--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]

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



Reply via email to