This a process of printing out html codes in php.
In trying to write an echo statement to the page that puts a textarea on the page with a red color for the text.
Normal HTML code would like this and my text would be in red
<textarea style="color:#FF0000;" name="message">Please Enter</textarea>
Now I have tried this and I can't get it to work (it is part of a bigger script I have just trimmed it down for this example.)
<?php
{echo '<textarea style=\\"color:#FF0000;\\" name=\\"message\\">Please Enter</textarea>';}
?>
0 comments:
Post a Comment