Page 1 of 1

My print call inside php is not working. yes...a newbie ques

Posted: Wed Jan 29, 2003 12:24 am
by ComicRage
Hi,

I just started learning php. I added this php code to my wwwroot folder, but nothing appears in my explorer. why?

<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>New Page 1</title>
</head>

<body>

<?php
$int1 = 523;
print( "test<br>");

?>

</body>

</html>

Posted: Wed Jan 29, 2003 12:30 am
by Stoker
Is the filename.php ?
--
Look at the source of the output, does it show the whole PHP tag as-is?
If so it is very likely that your webserver hasnt been configured to process .php files..