Dynamic form CodeIgniter, Attribute Form in Database [closed] - php

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I want ask something about Code Igniter Dynamic Form.
I want to make a Form. Every tag like input, text area, etc, and attribute like id, class, etc of that Form stored in database. No hard code in html/php. Only fetch the attribute and tag from database, the Controller will load from database and send to View. And automatically will display the Form like what I saved in database.
In this case, the future of this form will be increased or reduced without need to hard coding by the developer.
Anyone can tell me how to make like that. And give reference link to me, so i can learn it.

Looking at this github project may help you to get the idea
Generate a form from a DB table

Related

How to display data from an html form in an html table [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
Please forgive me if this has been asked and answered before, but I couldn't find it in the search.
As stated in the title, I have a form built in HTML. I need the user inputted data to be displayed in an HTML table. I know the easiest way to accomplish this is probably to do so using SQL to store and then retrieve the data and PHP to output it in the table itself. For the life of me I cannot get this to actually work. Google is absolutely my friend but literally nothing I've tried actually works. Examples would be wonderful and I seriously appreciate the help! Thanks!
This link could help you: https://stackoverflow.com/a/15251402/4149985
Basically, you need a web server, either locally or via a hosting provider with access to a database.
Your database needs to have a table, which contains records.
You need to use PHP to connect to the database, retrieve the records and then output them as a HTML table.

Responsive Tables and mysql [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 years ago.
Improve this question
First of all I must say that I am a complete rookie at web development(2 months working on). So forgive me about any "stupid" comments or questions.
I have a table which holds date stored in MySQL database. I use a form to send these data to the table.
My question is:
"Can I create a hyperlink on each ID of the table so when I click on it, it will display the data of the record BUT on the same page?"
All I could do was to display the table in another page.
First when someone read "responsive table" normally we think on responsive design, maybe the correct title would be data managament from tables.
To answer your question, I would say yes, you can create a hyperlink on each ID display the data, this hyperlink would make another query on the database, the way you want to do i would use AJAX that's really complicated at start, so I recommend you to search some tutorials.

Retrieving related values in database from listbox PHP [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
Good day! I am fairly new in PHP and I am trying to develop a website that can retrieve and display stored information from the database. The catch is, the information that will be retrieve will be based on the selected value from the list box (the list box you can create in html).
I have one list box that contains all the names of the users and would like to display all the related information for that user on a specific table in my database.
To be completely honest, I have no idea how to do this. I can retrieve all the values from a specific table in my database and that's all I know.
Hoping someone would be patient enough to teach me how to do this or guide me if this is even possible in PHP.
Thank you in advance.
You will need to read on doing database operations using PHP with PDO.
Once you've done that, the rest will be pretty easy, you will have to learn how to work with forms with PHP,
which you can do here.

Gravity Forms - Don't Save Field Data on Databse [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
My client wants to collect personal information through email but not have that info saved on the database. I'm using the Wordpress Gravity Forms plugin. Is there a way to have that info sent out through the email notification like normal, but then clear out the data before saving the entry to the database? Or at the very least, could that data be replaced with alternate content? Thanks!
You will need to learn Gravity Forms a bit, but one possible way to accomplish this is to use the hook: gform_after_submission. You can add a form ID to the hook name if you are targeting a particular form.
In your function, you can remove the field(s) that you don't want to keep in the database.
For more info on the after submission hook:
http://www.gravityhelp.com/documentation/page/Gform_after_submission
For info on all hooks available to you:
http://www.gravityhelp.com/documentation/page/Developer_Docs#Hooks_and_Filters

User Editable Table [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
How would I go about creating a table that is linked to a specific user that can be edited by that user? Basically a user would log in, and they would see a button that took them to a page with a bunch of specifically labeled input boxes. They could put the appropriate data into the boxes and save it. There should also be a drop down menu that contains presets for the data. At first I thought to use a database, but here's the kicker: They need to be able to add and delete input boxes. To recap, the user needs to have their own specific page that allows them to change data in input boxes, as well as add more fields if they require it. This all needs to be stored and linked to their user. How can I do this?
You should realize that in PHP / MySQL. I do not know where you are in your project, if you have already achieved your login pages / sing_up / index ... etc.. but you should start with that. There are good tutorials on the subject, like this one.
http://net.tutsplus.com/tutorials/php/user-membership-with-php
EDIT:
To let user edit their info, look at this tutorial:
http://www.webestools.com/scripts_tutorials-code-source-14-members-area-system-in-php-mysql-members-users-system-area-log-sign.html
After, you will have to ajust your actual structure to the one they give.

Categories