| 
	
 | 
 Posted by gosha bine on 09/15/07 09:07 
Gandalf wrote: 
> On Sep 15, 10:32 am, Gandalf <goldn...@gmail.com> wrote: 
>> I don't understand why this  expression doesn't work: 
>> 
>> $var= '$_POST'; 
>> 
>> $name= ${$var}[name]; 
>> 
>> the ${$var}[name]  expression wont return the same expression of 
>> $_POST[name]. 
>> why does it happens, and how can i solve it? 
>> 
>> thanks 
>  
> i meant to write $var ='_POST', 
> and the that ${$var}[name] wont return the same value as $_POST[name] 
>  
 
hi 
 
this should work as expected. Care to post more code? 
 
--  
gosha bine 
 
extended php parser ~ http://code.google.com/p/pihipi 
blok ~ http://www.tagarga.com/blok
 
  
Navigation:
[Reply to this message] 
 |