- New to XAMPP and trying to learn php
- Just installed 1.7.4
- localhost Status shows PHP is ACTIVATED
- created file test.php and saved as C:/xampp/htdocs/testphp.php
- opened testphp.php in browser (Firefox 5.0)
- blank page is loading instead of "Test if php is working"
testphp.php code below
<html>
<head>
<title>Test PHP page</title>
</head>
<body>
<?php
$test = "Test if php is working";
echo $text ;
?>
</body>
</html>
Any suggestions would be very appreciated (apologizes if this has been addressed before - did a quick search but didn't find something applicable).