[PHP] `T_VARIABLE' or `'$''

2001-08-24 Thread Paul Roberts

I'm using preg_replace and getting the following error

parse error, expecting `T_VARIABLE' or `'$''

anyone know where I can find out abut them, I did a search of the manual but
nothing came up.

Paul Roberts

[EMAIL PROTECTED]
+



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]





Re: [PHP] `T_VARIABLE' or `'$''

2001-08-24 Thread Ken

At 02:31 PM 8/24/01 +0100, Paul Roberts wrote:
I'm using preg_replace and getting the following error

parse error, expecting `T_VARIABLE' or `'$''

This sounds like PHP was expecting a variable name somewhere where you didn't provide 
one.  Perhaps you left off a $ before a variable name.

It might not be in your preg_replace call.

- Ken
[EMAIL PROTECTED]
ken's last ever radio extravaganza http://free-music.com/ken/extrav/

anyone know where I can find out abut them, I did a search of the manual but
nothing came up.

Paul Roberts

[EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]