Re: [PHP3] generated code
| From: | (Richard Lynch) | Date: | Sat, 10 Jun 2000 00:45:11 +0000 |
| Subject: | Re: [PHP3] generated code | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-1524@lists.php.net to get a copy of this message | ||
In article <00060513220104.08079@jolly.mpipks-dresden.mpg.de>,
aardvark@mpipks-dresden.mpg.de (Reiner Peterke) wrote:
> $$astra[$x] would be giving me $<variable name>
It might if you use ${$astra[$x]} and don't bury that in quotes.
$query = "udpate ... " . ${$astra[$x]} . " where blah blah blah";
--
Richard Lynch | If this was worth $$$ to you, buy a CD
US Customer Support Director | from one of the artists listed here:
Zend Technologies USA | http://www.L-I-E.com/artists.htm
http://www.zend.com | (this has nothing to do with Zend,
duh!)