Jump to content

using "&" in variables


digitalecartoons

Recommended Posts

Im using this line to send variables to Flash:

 echo "&myVar=$myVar&"; 

Just because I noticed that on some php servers this doesn't work:

echo "myVar=$myVar"; 

But again, on some it does work.

What's the purpose of putting "&" characters in front and after the variable declarations? And what php server setting wants them to be there and which doesn't?

Link to comment
https://forums.phpfreaks.com/topic/86118-using-in-variables/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.