Obviously I was looking to do something else but as it wasnt working, I have stepped back to a very fundamental test:
<?php
phpinfo();
?>
<?php
echo "Test";
?>
Can anybody give me any ideas as to why the first script works, and the second doesnt. Nothing else in the file, just one or the other! A .php extension.
Not sure why I am having to iterate over this - thanks alot phaberest! The resolution in the suggested duplication talked about having a php file extension - well this has a php file extension. On the other points that @rene pot, put forward - phpinfo() is outputting, so yes there is php installed on the server. I am not using localhost but servername.co.uk/phpinfo.php