PHP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 



Go Back   Dev Articles Community ForumsProgrammingPHP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old November 26th, 2011, 01:28 AM
kc0pph kc0pph is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2011
Posts: 1 kc0pph User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 m 47 sec
Reputation Power: 0
Forms: POST & GET - Dynamic form from Database

I have been trying everything to get this to work and nothing i can find online will work or help. The end goal is to have a dropdown box that will allow you to select what table to edit. I want to load the columns from a database into an array and then display a form that when the data is entered in will eventually input it to the database. The issue i have is i can not get the Column names to become the Titles and names of the forms. The closest i got will output something simialar to this

0 - Form
Name - Form
1 - Form
Email - Form
...

So i dont get why i am getting numbers mixed in with my array.

Any help will be apprecheated.

Reply With Quote
  #2  
Old May 8th, 2012, 09:55 PM
ranura ranura is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2012
Posts: 6 ranura User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 3 m 19 sec
Reputation Power: 0
I'm also having this same problem.
I have 10 tables in my database.
I want load these 10 table names into a drop-down list.
If a user selects a value form the drop-down list, a form should be displayed with related to the table. (form fields should be appropriate table's column headers)
When user fill the form and submitted, data should be saved in the selected table.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingPHP Development > Forms: POST & GET - Dynamic form from Database


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.

© 2003-2018 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap