[PHP] Re: Put value directly into form?

2001-08-14 Thread Phil Latio
> http://www.yorkshire-search.co.uk/links/add.php3 Right, I seem to have not made myself too clear so I'll try again. Originally, the page "add.php3" was using a plain HTML template called "add_form.html" which consisted of a simple form. If you click on the link above and have a look at the pag

[PHP] Put value directly into form?

2001-08-13 Thread Phil Latio
How can I directly put values into a form instead having to create hidden fields and drag the data from them? You can see what I mean at: http://www.yorkshire-search.co.uk/links/add.php3 Would a javascipt function be any use to me? -- PHP General Mailing List (http://www.php.net/) To unsubs

[PHP] Does $PHP_SELF work in templates?

2001-08-06 Thread Phil Latio
Lets take the most simple of scripts and run it on a standalone page to prove it's working correctly before we import into a template file. http://www.yorkshire-search.co.uk/links/add_form.php4 Next step, lets change the tags to because that's what it says in the manual and put it into the add_

[PHP] What's the difference between echo and print?

2001-08-06 Thread Phil Latio
What's the difference between echo and print? I believed they were the same. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] $PHP_SELF in a template problem, I think ??

2001-08-06 Thread Phil Latio
Tried this and got parsing errors so " must be correct. "Richard Baskett" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Does the manual actually say to use the tags ""? Or is it the > normal tags of ""? > > > I run a small search engine and adding URL's is

Re: [PHP] $PHP_SELF in a template problem, I think ??

2001-08-06 Thread Phil Latio
What I've said. I might just check out trying out as they aren't the brightest bunch of individuals. - Original Message - From: "Richard Baskett" <[EMAIL PROTECTED]> To: "Phil Latio" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: M

[PHP] $PHP_SELF in a template problem, I think ??

2001-08-06 Thread Phil Latio
I run a small search engine and adding URL's is a bit of a pain so I thought I would try to make it easier. Looking around I found a PHP function called "get_meta_tags" which unsurprisingly, grabs the contents of varoius meta tags. I just want the "description" contents so I first made a standalon