View Single Post
  #8  
Old 10-04-2006, 04:46 PM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
Quote:
Originally Posted by _Z3phyr_ View Post
So if I'm going to start the variable's name with the value of another variable, I need to use the @ sign to start it off?

this.(@ varname) = value;
I think you only need it for a variable name only or if a variable name is first.
PHP Code:
this.(@ foo "bar") = baz
However, I do it out of habit even when a string is first. It is probably good practice for consistency and legibility.
Reply With Quote