Hey all.
I'm trying to display the result of a php script in my html. I need the file to be HTML so I can't use a file with PHP extension and echo html tags.
I put the php script as the action of a form, but when submitted, it calls the php script and "exits" the html page.....I need to call the php script and remain inside the HTML program to display/manipulate the results.
I've also tried putting <script ....></script> in the head with the src attribute being the php file.
I can't get this to drop. I can't even display php directly in the HTML (not calling external file).....
<html>
<head></head>
<body>
<? echo/print phpinfo(); ?> <---------Displays nothing to page
</body>
</html>
Any ideas?