Posts: 253
Location: Calgary, Alberta, Canada
|
Do you mean that it is now showing "fred", or the whole php code?
(This:
<?php
//print output
echo'fred'
?>
)
You shouldn't be expecting either "fred" or the php code to show when saved as a .html file, because for the php code to actually work, it must be saved as a .php.
This is a real horrible, short explanation, but I hope you can understand what I mean.
Hopefully someone may add something to make this clearer, or maybe you already understand what I am saying?
__________________
Signature Coming Soon! :) Please login or register to view this content. Registration is FREE
|