jonsof
April 22nd, 2002, 07:05
i wanna use a php scripot but i don't know how to put it in my html page.
any help?
Lawrence
April 22nd, 2002, 12:57
Jonsof,
1. Make sure your host supports php.
2. Make sure you name the file extension to an extension that will execute php. (.phtml, .php will usually work).
3. Embed the php directly into your webpage like this within the <?php & ?> tags:
<html>
<head><title>php test</title>
</head>
<body>
<?php
echo "Hello World";
?>
</body>
</html>
HTH.
Powered by vBulletin® Version 4.1.7 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.