Starting with php in my html page
View Single Post
01-08-2008, 02:34 PM
Join Date: Oct 2007
Location: Manchester, UK
first off, unless you configure apache differently, nothing but .php files will be passed to the php interperter, hence y its just farting it back to browser without running php.
i know this might sound daft, but you have remembered to clear you cache and are making sure that you have .php appended to the filename, because to me it sounds like php isnt getting it, it could also be an apache problem, but because you havnt configured it yourself, i find it unlikely.
if you want to pass a .html file to php and make apache treat it as a php file, add following to your httpd.conf or in a .htaccess:
AddType application/x-httpd-php .html
mysql> SELECT * FROM `users` WHERE `users`.`clue` > 0;
Empty set (0.00 sec)
View Public Profile
Send a private message to sketchMedia
Visit sketchMedia's homepage!
Find More Posts by sketchMedia