Send me your example page and I will be able to tell you what you did wrong
and what to watch for. :)



"Too much caution is bad for you. By avoiding things you fear, you may let
yourself in for unhappy consequences. It is usually wiser to stand up to a
scary-seeming experience and walk right into it, risking the bruises as hard
knocks. You are likely to find it is not as tough as you had thought.  Or
you may find it plenty tough, but also discover you have what it takes to
handle it." - Norman Vincent Peale

> From: Richard <[EMAIL PROTECTED]>
> Date: Thu, 17 Jan 2002 08:25:17 +1100
> Subject: [PHP] PHP & HTML: newbie question
> Hi there
> I just signed up for an account at Spaceports so I can play with PHP ­ I
> placed some PHP code in an HTML page and uploaded it to the server.
> But when I checked it in my browser I got the error message: canšt parse
> line 1
> Line 1 is simply the <HTML> tag!!
> On one of their user forums someone suggested getting rid of the HTML tags
> so I did and just left the PHP code on its own and this works fine ­ so how
> can I use PHP with HTML?
> I think it has something to do with the fact that  have to use their CGI
> server to run PHP???
> Cheers
> Richard S

PHP General Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to