I am new in this website, and posting my first post. This is all about PHP , which is recently being most popular server side scripting language. I new some people who have some problem in printing or echo in PHP. The problem is
echo "HI how are u" //This is OK
echo "<style="color:blue">hi how are u my friends?</style>";/*Parse error: syntax
error, unexpected T_STRING, expecting ',' or ';..............*/
people are confused what is happing ???? but the main problem is using "" in between the 2 " of echo so what will be the ans???? come on there is solution here it is:
echo "<style=\"color:blue\">hi how are u my friends?</style>";// use the\ to indicate the " as unique one.
I think this will help my friends. So for now