robert_gsfame Posted June 4, 2010 Share Posted June 4, 2010 i have this php $string="Myname"; echo '$string'; how can i escape so that i can get Myname as a result Quote Link to comment Share on other sites More sharing options...
Mchl Posted June 4, 2010 Share Posted June 4, 2010 echo $string; Quote Link to comment Share on other sites More sharing options...
robert_gsfame Posted June 4, 2010 Author Share Posted June 4, 2010 Sorry this is the real problem ... $myfirstcontent=nl2br($text); $quote=mysql_fetch_array($query['mynama']); $changethis=array('',' ',''); $withthis=array('<img src=bar/emoticon_tongue.gif>','<div class=scroll>$quote','</div><br>'); $content=str_replace($changethis,$withthis,$myfirstcontent); Quote Link to comment Share on other sites More sharing options...
Zagga Posted June 4, 2010 Share Posted June 4, 2010 Try putting your code inside the code goes here tags so we can read your code properly, and tell us what your are having problems with. Zagga Quote Link to comment 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.