Put HTML in PHP script

Hi,

You can do like this

HTML in PHP :
<?php
echo "<table>";
echo "<tr>";
echo "<td>Name</td>";
echo "<td>".$name."</td>";
echo "</tr>";
echo "</table>";
?>

Thanks
 
Hi there.

I have several examples on my site with code blocks you can copy, paste and edit to your specifications. This is a good place to start - http://www.php-scripting.com/php-tutorials

I hope it helps you. :)

JT
 
Back
Top