I'm a newbi to php and I put the
<?php
echo 'Just checking to see if it works';
?>
In a html file using dreamweaver cs4. Saved it as html.
Put it up on server and went to get it. The page came up but no PHP.
1. Was i suppose to execute or chomod it before loading it up?
2. Was I suppose to save the page as php instead of html?
Can somebody tell me what I'm doing wrong?
Thanks
PHP Testing Page Problems
Moderator: General Moderators
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: PHP Testing Page Problems
The file needs to be saved with a .php extension.Bob45 wrote:In a html file using dreamweaver cs4. Saved it as html.
(#10850)
Re: PHP Testing Page Problems
Thank you very much.