[snip]
Do you have to use ereg?  The preg_match pattern I posted works fine. 
It will return an array, first element being the whole string it 
matched, next element will be what it matched _inside_ the parentheses 
(less the parentheses) (if it matches anything that is).
[/snip]

Thanks John....the brain fart continued. I was echoing $regs[0] instead
of $regs[1]....too many hours, not enough caffeine or sleep. I am
getting too old....

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

Reply via email to