You are here: Re: Getting values into a form: PHP (Server) or Javascript (Client) Side? « All PHP « IT news, forums, messages
Re: Getting values into a form: PHP (Server) or Javascript (Client) Side?

Posted by Toby Inkster on 09/28/04 11:41

Good Man wrote:

> The only point would be saving me programming time. On a page with 50+
> form-fields, I can save lot of time by writing a PHP loop that writes an
> HTML call to a javscript function instead of going to each form field and
> entering the value="<?= $first_name ?>" stuff...

I'd just paste the value="<?=$first_name?>" stuff in.

Personally, I never create an "Add" form -- only ever an "Edit" form.

When I need to create some "Add" functionality, I simply make a button
that adds a new blank record, then forwards the visitor to the "Edit" form
to edit the new blank record.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация