Hi all,
I have a variable $html that contains
<head>
<link rel="stylesheet" href="buttons.css" type="text/css">
</head>
<body>
Welcome
</body>
I have got this variable by using the buffering ob_start, ob_get_contents etc
I then need to pass this variable onto the next page. I am trying to do this via this code
<form method="post" action="printtext.php">
<input type=hidden value="<?php echo ($html) ; ?>">
<input type="submit" value="Print Text Version">
</form>
The script then seems to be taking the second before last > as the final one, and outputting "> to the screen.
Any help appreciated!