Re: String problem
| From: | Richard Lynch | Date: | Mon, 19 Feb 2001 22:36:51 +0000 |
| Subject: | Re: String problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-40660@lists.php.net to get a copy of this message | ||
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" <mpeloso@princeton.edu>
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
> mpeloso@princeton.edu
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>