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
Send me your example page and I will be able to tell you what you did wrong and what to watch for. :) Thanks! Rick "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 w