Re: [PHP] Re: Converting tables into forms

2009-10-29 Thread Tom Barrett
Apologies for semi-hijacking, but I am confused. What are aiming to do that something like PHPMyAdmin doesn't do? 2009/10/28 ben...@gmail.com ben...@gmail.com Jay, What function do you have? Thanks to everyone for their feedback. Best, Ben On Wed, Oct 28, 2009 at 9:17 AM, Jay

RE: [PHP] Re: Converting tables into forms

2009-10-29 Thread Jay Blanchard
[snip]What are aiming to do that something like PHPMyAdmin doesn't do?[/snip] The OP never really answered this, but I don't think you can use PHPMyAdmin to automate the generation of forms from every table in a database. You could use the function I supplied in a loop to read each table and spit

Re: [PHP] Re: Converting tables into forms

2009-10-29 Thread richard
Hi, What are aiming to do that something like PHPMyAdmin doesn't do? Perhaps the forms are for users. And users being able to drop databases isn't my idea of a good time. And setting up and maintaining multiple database users is far too much work - I prefer not to provide the interface in the

Re: [PHP] Re: Converting tables into forms

2009-10-28 Thread Ashley Sheridan
On Tue, 2009-10-27 at 21:07 -0700, ben...@gmail.com wrote: I am trying to take MySQL tables and use the table structure to create HTML/PHP forms in as few steps as possible for further development. I have a project that has hundreds of tables and requires hundreds of forms to be created and

RE: [PHP] Re: Converting tables into forms

2009-10-28 Thread Bob McConnell
From: Ashley Sheridan On Tue, 2009-10-27 at 21:07 -0700, ben...@gmail.com wrote: I am trying to take MySQL tables and use the table structure to create HTML/PHP forms in as few steps as possible for further development. I have a project that has hundreds of tables and requires hundreds of

Re: [PHP] Re: Converting tables into forms

2009-10-28 Thread Bastien Koert
On Wed, Oct 28, 2009 at 8:53 AM, Bob McConnell r...@cbord.com wrote: From: Ashley Sheridan On Tue, 2009-10-27 at 21:07 -0700, ben...@gmail.com wrote: I am trying to take MySQL tables and use the table structure to create HTML/PHP forms in as few steps as possible for further development. I

RE: [PHP] Re: Converting tables into forms

2009-10-28 Thread Jay Blanchard
[snip]If your solution requires you to create hundreds of forms, which could take months to code, you need to take another look at the problem. I don't believe you have thought it through very well.[/snip] Actually you could use the function I provided to do this on the fly or have the function

Re: [PHP] Re: Converting tables into forms

2009-10-28 Thread ben...@gmail.com
Jay, What function do you have? Thanks to everyone for their feedback. Best, Ben On Wed, Oct 28, 2009 at 9:17 AM, Jay Blanchard jblanch...@pocket.comwrote: [snip]If your solution requires you to create hundreds of forms, which could take months to code, you need to take another look at

Re: [PHP] Re: Converting tables into forms

2009-10-27 Thread James McLean
On Wed, Oct 28, 2009 at 2:37 PM, ben...@gmail.com ben...@gmail.com wrote: I am trying to take MySQL tables and use the table structure to create HTML/PHP forms in as few steps as possible for further development. I have a project that has hundreds of tables and requires hundreds of forms to be

Re: [PHP] Re: Converting tables into forms

2009-10-27 Thread Robert Cummings
ben...@gmail.com wrote: I am trying to take MySQL tables and use the table structure to create HTML/PHP forms in as few steps as possible for further development. I have a project that has hundreds of tables and requires hundreds of forms to be created and don't want to do so field by field by