|
-
Nov 6th, 2001, 08:14 AM
#1
PHP code in .html file
Is there a way to add a php code inside the html file (and save that file with .html extension rather than .php). My boss doesn't want .php files (which is what I have now) so he asked me to find a way to change it to .html. But honestly I don't even know how to do it.
I'm looking for something like this:
<html>
<head>
<title>STUPID TITLE</title>
</head>
<body>
SOME TEXT IMAGES, TABLES GO HERE
and then I want to add php formatted table with some data from the text file
<?php MYPHPCODEHERE ?>
</body>
</html>
I tried the above but don't seem to make it work (I'm getting the code itself displayed rather than the table that should appear)
Thanks
Spike
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|