Jump to content

PHP not working correctly


harwoodr

Recommended Posts

Hi all can anyone help please, i have installed php on a local server, and i also have it on  a remote server, i installed my local , professionals installed on remote server, both will show php pages, but i cant get a response from either when i embed anything in a html page, even simple echo wont work,  any idea's plea se

Link to comment
https://forums.phpfreaks.com/topic/38952-php-not-working-correctly/
Share on other sites

Sorry guys i am using the wrong terminology,, total neebie  of course,,  I want to add php content to a standard web page,, if i type  this and save as html, load on server    i get zilch  . The server reads php pages fine,  but not this what do i need to do ?\ please

<html>

<head>

<title>Untitled Document</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

</head>

 

<body>

<?php

  // Hello World in PHP

  echo 'Hello World!';

?>

 

</body>

</html>

zilch

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.