dieutran
New Member
- Messages
- 2
- Reaction score
- 0
- Points
- 1
Hi guys,
I have a problem with php.
In my public_html directory, if I have a file named "index.php": <?php echo "something"; ?>, it works perfectly.
But in the same directory, if the file is "index.html":
<html>
it doesn't work. it displays nothing.
Can someone tell me why? Thanks
I have a problem with php.
In my public_html directory, if I have a file named "index.php": <?php echo "something"; ?>, it works perfectly.
But in the same directory, if the file is "index.html":
<html>
<head>
<body>
</html><title> hello </title>
</head><body>
<?php echo "something"; ?>
</body>it doesn't work. it displays nothing.
Can someone tell me why? Thanks