digitalecartoons Posted January 15, 2008 Share Posted January 15, 2008 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? Quote Link to comment https://forums.phpfreaks.com/topic/86118-using-in-variables/ Share on other sites More sharing options...
rajivgonsalves Posted January 15, 2008 Share Posted January 15, 2008 your adding the "&" to the string so basically it should make little or no difference maybe its building a query string then it could make a difference however would like to see your code Quote Link to comment https://forums.phpfreaks.com/topic/86118-using-in-variables/#findComment-439767 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.