Reply to Re: Create new line

Your name:

Reply:


Posted by Jerry Stuckle on 03/25/06 04:02

juicy wrote:
> I am not sure I post to correct forum or not, anyway, my question is
>
> I create some textfield in tabular format (in loop 10 times). Now I want
> to add function "add new line" where I click ADD, it will create new text
> field shown in the form, is it possible to do?
>
> Sorry that my question is not clear as I am newbie in this field.
> Thanks.
>

Hi, Juicy,

Sure, it's possible. It will take a little work but not too bad.

Submit the form back to the same page. Keep track of the number of lines
currently being displayed, probably in a hidden field. Then simply add one to
the count and run your loop again.

Don't forget to fetch the data from the existing page and add it when you build
the new page.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[Back to original 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

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