Re: [PHP] PHP & HTML: newbie question

2002-01-16 Thread Erik Price
You mispelled the closing "" tag. On Wednesday, January 16, 2002, at 04:33 PM, Nick Wilson wrote: > > * On 16-01-02 at 22:29 > * Richard said > >> >> 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 upl

Re: [PHP] PHP & HTML: newbie question

2002-01-16 Thread Richard Crawford
Just out of curiosity, what is the name of your page? It might be as simple as making sure it has a .php extension on your page. If it has an .html extension it won't work properly. Just a thought; I could be wrong about this. Nick Wilson wrote: > * On 16-01-02 at 22:29 > * Richard said.

Re: [PHP] PHP & HTML: newbie question

2002-01-16 Thread mike cullerton
hmmm... not sure about the cgi part. you'll probably need to start the file with something like #!/usr/loca/bin/php -q either way, within the file, you also need to tell the php parser what is php and what is html. surround the php code with tags like on 1/16/02 2:25 PM, Richard at [EMAI

Re: [PHP] PHP & HTML: newbie question

2002-01-16 Thread Nick Wilson
* On 16-01-02 at 22:29 * Richard said > > 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 > >

Re: [PHP] PHP & HTML: newbie question

2002-01-16 Thread Richard Baskett
Thu, 17 Jan 2002 08:25:17 +1100 > To: <[EMAIL PROTECTED]> > 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.

[PHP] PHP & HTML: newbie question

2002-01-16 Thread Richard
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 tag!! On one of their user forums someone