View Single Post
  #2  
Old 06-26-2007, 06:04 PM
Novo Novo is offline
[TServerDeveloper]
Join Date: Jun 2006
Posts: 448
Novo will become famous soon enough
Quote:
Originally Posted by JkWhoSaysNi View Post
This won't work:
PHP Code:
makevar("this.something[0]") = "just testing";
echo(
this.something[0]); 
I could do:
PHP Code:
makevar("this.something")[0
but what I really want to do is this:

PHP Code:
makevar("this.something[0].whatever") = "just testing"
Is there any way to get makevar to work with arrays like this?

Thanks.
Why not use (@"this.something")[0].(@"whatever"); ?
Reply With Quote