Hi, Insearchfor!
You could try this:
<?php
echo 'insert HTML here';
?>
Also, check this out:
http://www.w3schools.com/website/web_php_style.asp
I hope this helps. Thank you.
Put HTML in PHP script
Moderators: egami, macek, gesf
- WebOutGateway
- php-forum Fan User
- Posts: 65
- Joined: Mon Jun 13, 2011 9:25 pm
- Location: Pasig City, Philippines
- Contact:
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
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
- phpscripting
- New php-forum User
- Posts: 10
- Joined: Thu Apr 07, 2016 10:46 am
- Location: Bigfoot Country, Canada
- Contact:
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
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