$strLocation = 'http://www.google.com';
 $strLink = "HI there";
 (or)
 $strLink = 'HI there';

 print $strLink;   

Using ' is html special char which remains undetected during string operations and will appear only in browser.

Using simple escapes the string

Leave a reply