I'm not sure why/when PHP doesn't like embedded [[]] but it doesn't
sometimes (always?).
You'll need to use a temp variable for $keys[1] and $keys[0] to put into
$HTTP_POST_VARS.
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: "Mike" <[EMAIL PROTECTED]>
Newsgroups: php.general
Sent: Monday, February 19, 2001 3:23 PM
Subject: [PHP] String problem
> I get this error Parse error: parse error, expecting `']'' in
> /************on this.
>
> $Q= "Update $HTTP_POST_VARS[$keys[1]] Set $updateString Where $keys[0]
> =$HTTP_POST_VARS[$keys[0]]";
>
> all my brackets are closed
> [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]
>
--
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]