Jump to content

why this is not working propapley


deepinlife

Recommended Posts

guys this piece of code is not working , why ?

<html>
<head>
  <title>PHP Test</title>
</head>
<body>

<?php

// Show all information, defaults to INFO_ALL
phpinfo();

// Show just the module information.
// phpinfo( yields identical results.
phpinfo(INFO_MODULES);

?>


</body>
</html>

 

it display nothing

i use lamp

Link to comment
https://forums.phpfreaks.com/topic/165659-why-this-is-not-working-propapley/
Share on other sites

well i donno

when i invoke localhost , it displays

It works!

 

what else should i try and also when i try this code it display

<html>
<head>
  <title>PHP Test</title>
</head>
<body>

<?php

echo ("<p>hello</p>");
?>


</body>
</html>

 

it display

hello

"); ?> 

 

so i think it process the echo function , but it done something wrong , isn't it ?

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.