ok, I am currently learning PHP on w3schools however I have entered what I want into a PHP file called index.php and opened in Mozilla Firefox
here's my code:
and here's the one on the w3schools:PHP Code:<HTML>
<HEAD>
<title>PHP Test File</title>
<style type="text/css">
<!--
body {background: #6699cc;}
-->
</style>
</head>
<body>
<?php
$txt="BLOB";
echo $txt to you;?>
</body>
</html>
both of which when I open in Mozilla Firefox show nothing, what do I do?PHP Code:<html>
<body> <?php
$txt="Hello World";
echo $txt;
?> </body>
</html>






Reply With Quote











