I have a php script that uses a $content variable to write text to a newly created html page that is empty. my php script works great using regular ascii text. when i try to insert html markup tags i get an error and script stops working. here is an example. the html write doesn't work no matter what html tags i use. $Content = "echo ""; echo ""; echo "require_once('some.php')"; echo "Hello, today is "; echo date('l, F jS, Y'); echo ""; echo "";\r\n";
i've tried echoing and not echoing. do i need to add some type of delimeter or is there a php function i should be using that can get around this problem?