On 14 Aug 01, at 5:14, Phil Latio wrote:
> 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
Looks to me like they're still using the form to process info. If you mean
getting information into the various fields then you'll need something like
this:
<input type="text" name="sometext" value="sometexthere" size=30
maxlength=100>
The 'value=' bit will insert the information into the form field when it outputs
to the browser. There's similar constructs for every form tag available.
Find yourself a reasonable form tutorial and it'll no doubt cover this sort of
thing.
The php to do it is pretty much up to you - in the case of the site above
they're going away and reading the web site for you.
> Would a javascipt function be any use to me?
I guess you could. That's not the way that the web site you refer to is
doing it.
CYA, Dave
-----------------------------------------------------------------------
Outback Queensland Internet - Longreach, Outback Queensland - Australia
http://www.outbackqld.net.au mailto:[EMAIL PROTECTED]
-----------------------------------------------------------------------
--
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]