purencool Posted December 2, 2010 Share Posted December 2, 2010 Hi Php Freaks I am trying to escape variable but I am lost. I am sure that it is easy. can anyone help ta $y="\\$GLOBALARRAY = array( \n"; echo $y; Link to comment https://forums.phpfreaks.com/topic/220426-escaping-variable/ Share on other sites More sharing options...
Psycho Posted December 2, 2010 Share Posted December 2, 2010 Not sure what you want. Do you want the variable to be interpreted? If so, use $y="\\{$GLOBALARRAY} = array( \n"; If not, use single quotes to define the string Link to comment https://forums.phpfreaks.com/topic/220426-escaping-variable/#findComment-1142074 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.