Difference between revisions of "Embed PHP into HTML"
Jump to navigation
Jump to search
(enclose your PHP code in tags) |
(No difference)
|
Revision as of 16:05, November 23, 2010
To embed PHP into HTML, simply enclose your PHP code in <?PHP and ?> tags like begin and end your PHP code like this:
<?PHP echo "Hello, world!"; ?>