Body of the page goes here
Is it possible to mix PHP and HTML code in the same file?
I have tried to embed a simple <?php echo 'Hello from PHP'; ?> script in an html file but the script does not execute. The surrounding html works just fine.
If I try to embed html tags (a form in this case) in a php file, I get a 500 Internal Server Error.
If I create a php script that uses the echo statement to echo html tags, that works fine.
Users browsing this forum: No registered users and 1 guest