phpn000b
Новичок
Теги не там где нужно.
Имеем код:
если в поле ввести: <font color="red">qwe</font> - выдаст qwe, а как сделать так, чтобы вывело <font color="red">qwe</font> ?
Имеем код:
PHP:
<?php
if (!$_POST['test']) {
$msgbody = '
<form method="post" action="test.php">
<input name="test">
<input type="submit">
</form>
';
}
else $msgbody = $_POST['test'];
echo $msgbody;
?>