Question, got a script here, you dont really need to know much about it because im focusing on something independent here. BTW thanks in advance to whoever replies.
Ok: ive got a script that posts to itself and sends an ID number. then
You need to use the $$ in your code. An example would be something like this.
$foo = "bar";
$bar = "testing";
echo $$foo would output the text "testing" to the screen. The $$ means to use the text in that variable as the name of another variable. I think the manual called it variable variables.
In your case (if I've interpreted it correctly), try this ...
Thanks for the help, yet it doesnt really help. Look at the above code.
The second and third line are irrelevant. $$var will echo cheese because it is defined as a variable, after the first $ im assuming php just sees at as another variable. Thanks for your help though, i am going to look up variable variables, sounds familier.
Bookmarks