Elivmar
03-02-2005, 06:32 PM
I dont want to use a host that you have to pay for untill I get better at php so for now I use a free website at hostultra.com.
Now it supports php and when I enter
<html>
<head>
<title>PHP Test</title>
</head>
<body>
<?php phpinfo(); ?>
</body>
</html>
everything turns up correct but for every other code it looks like this
Parse error: parse error, unexpected T_STRING in /data/hosted/elivmar/index.php on line 3
I have it saved as .php
What could be the problem?
The code I use shouldnt be wrong because I used the copy tool and copied the code off a tutorial to see if it works.
Now it supports php and when I enter
<html>
<head>
<title>PHP Test</title>
</head>
<body>
<?php phpinfo(); ?>
</body>
</html>
everything turns up correct but for every other code it looks like this
Parse error: parse error, unexpected T_STRING in /data/hosted/elivmar/index.php on line 3
I have it saved as .php
What could be the problem?
The code I use shouldnt be wrong because I used the copy tool and copied the code off a tutorial to see if it works.