Display text from browser (form textfield) to a text files

second ...

you start with <?php and you ending with ?>

eg.

<?php
$hello = "HELLO2";
echo "HELLO";
echo $hello;

echo "<table><tr><td>HELLO</td></tr></table>";
?>

You can use it... like that

<?php
echo "Hello";
?>
HTML ....
<?php
echo "Hello again";
?>


Now if you have to use html inside the php code you need to do that

<?php
echo "<table><tr><td width='100%'>Hello</td></tr><table>";

echo "OR..... ";

echo "<table><tr><td width=\"100%\">Hello</td></tr><table>";

?>

gl
 
Back
Top