I am new to php, and is wondering what is the difference between all these:
${x} {$x} $[x] [$x] $(x) ($x)
Also, does adding "" or ' change anything to these variables? Thanks for the help.
http://www.php.net/manual/en/language.variables.php in the manual.
actually this would be better: http://www.php.net/manual/en/language.variables.variable.php
as far as (), those are (to my knowledge) reserved for functions such as mysql_fetch_array($value, etc.)
[] is used for indices for an array such as:
$variable = 5; //a variable $variable[1] = 5; //an array value with key 1 and value 5