Re: [PHP] Dynamic Form 'on The Fly' OT

2009-03-21 Thread Lists
George Larson wrote: [snip] Donovan: There's no "powers that be" on this list. The closest is Dan and we all ignore him. :-) Next question -- how do you keep login's and passwords safe? Is the following not embedded in the html? [SQLConnect dbType=MySQL&host=192.168.1.1&database=TestNames&uid=

Re: [PHP] Dynamic Form 'on The Fly' OT

2009-03-21 Thread tedd
At 10:26 AM -0400 3/21/09, George Larson wrote: For the record, I'm with Tedd. Regardless of this being a "designated" PHP arena, I'm enjoying this WebDNA conversation and might even give it a test drive... One of the good things about this list is that most of us are multi-lingual. Most of

Re: [PHP] Dynamic Form 'on The Fly' OT

2009-03-21 Thread George Larson
On Sat, Mar 21, 2009 at 8:58 AM, tedd wrote: > At 1:03 PM -0500 3/20/09, Lists wrote: > >> tedd wrote: >> >>> Now, can you show me how to pull data from a mysql database so that the >>> input statements can be created dynamically? >>> >> >> >> Sure, >> On the WebDNA side, it's something like this

Re: [PHP] Dynamic Form 'on The Fly' OT

2009-03-21 Thread tedd
At 1:03 PM -0500 3/20/09, Lists wrote: tedd wrote: Now, can you show me how to pull data from a mysql database so that the input statements can be created dynamically? Sure, On the WebDNA side, it's something like this (form of "names" from a database): -snip- However, like you said, this

Re: [PHP] Dynamic Form 'on The Fly'

2009-03-20 Thread Lists
tedd wrote: [snip] No problem here -- I'm open to all languages. The OP posted his question on a php list and that's the reason why I responded with a php solution. Now, can you show me how to pull data from a mysql database so that the input statements can be created dynamically? Cheers,

Re: [PHP] Dynamic Form 'on The Fly'

2009-03-20 Thread tedd
At 11:40 AM -0500 3/20/09, Lists wrote: O.K., I may get a back lash.. but I can't resist making a very small plug here for our server side language, WebDNA. Here is the same code in WebDNA: The Form: [loop start=1&end=3] [/loop] The Recieving page code (loop): [formvariables name=go_&exact=F

Re: [PHP] Dynamic Form 'on The Fly'

2009-03-20 Thread Lists
O.K., I may get a back lash.. but I can't resist making a very small plug here for our server side language, WebDNA. Here is the same code in WebDNA: The Form: [loop start=1&end=3] [/loop] The Recieving page code (loop): [formvariables name=go_&exact=F] [value] [/formvariables] The URL: h

Re: [PHP] Dynamic Form 'on The Fly'

2009-03-20 Thread tedd
At 12:12 PM -0700 3/18/09, revDAVE wrote: -snip Q: ANY Ideas? To follow up again, here's a demo of what I recommended -- with code: http://www.webbytedd.com//post-array/index.php As you can see, you can have as many input statements as can be generated. There is no need to index each o

Re: [PHP] Dynamic Form 'on The Fly'

2009-03-19 Thread tedd
At 12:12 PM -0700 3/18/09, revDAVE wrote: -snip Q: ANY Ideas? It may look odd, but trash all the count stuff and try this: HTML: PHP: foreach ($_POST['go'] as $a) { echo "$a"; } Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PH

Re: [PHP] Dynamic Form 'on The Fly'

2009-03-18 Thread Shawn McKenzie
Bob McConnell wrote: > From: revDAVE >> Using a repeating region of a query, I want to generate a 'form on the > fly' >> So for each repeat - I have an extra form input >> >> Each input name = thisline >> >> So it will make names like: >> >> thisline1 >> thisline2 >> thisline3 >> Etc. >> >> For

Re: [PHP] Dynamic Form 'on The Fly'

2009-03-18 Thread Paul M Foster
On Wed, Mar 18, 2009 at 12:12:54PM -0700, revDAVE wrote: > Using a repeating region of a query, I want to generate a 'form on the fly' > > So for each repeat - I have an extra form input > > Each input name = thisline > > So it will make names like: > > thisline1 > thisline2 > thisline3 >

RE: [PHP] Dynamic Form 'on The Fly'

2009-03-18 Thread Carlos Garcia
with this is a simple text : $this = 'thisline' . $cnt; echo $_POST[$this]; Carlos A. Garcia Hernandez > Date: Wed, 18 Mar 2009 12:12:54 -0700 > From: c...@hosting4days.com > To: php-general@lists.php.net > Subject: [PHP] Dynamic Form 'on The Fly' > > Using a repeating region of a

RE: [PHP] Dynamic Form 'on The Fly'

2009-03-18 Thread Bob McConnell
From: revDAVE > > Using a repeating region of a query, I want to generate a 'form on the fly' > > So for each repeat - I have an extra form input > > Each input name = thisline > > So it will make names like: > > thisline1 > thisline2 > thisline3 > Etc. > > For the form fields > > --