User Editable Table [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 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.

Related

Custom user registration in Wordpress [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 2 years ago.
Improve this question
I would like to set up user system in Wordpress, which is not limited to writing post or comment. Instead I would like to store custom user data (in my case users are tutors) for example the subject they teach and the price they charge. How could i do it with PHP or Sql?
You have two options here:
A) modify the registration form/process and request the users/tutors to input additional data when they register on the site; this will also require you to provide them with a user friendly interface screen where they can update/edit their information. What I usually do is create a view to display the user's info on the front end and then when loading that page check if the user is viewing their own profile and if so, load additional edit options in line with their data - I then use AJAX to allow them to update their own info.
B) if you want to manually manage this info yourself then simply have the users/tutors fill out a form and then you can update/edit a custom post-type called sevenine-tutor that you'll have to register/create in the system.
In theory you'd want these users managing their own profiles so option A) is probably the right route to pursue.
Questions like this are hard to answer because they're purely theoretical so there could be numerous ways to tackle them and whether an answer is correct or not is purely subjective. My advice would be to break your idea up into chunks and try tackling functions one by one and if you get stuck on something, then post relevant code here or to wordpress.stackexchange.com and get answers to very specific technical questions.

Multiple filters on a table with the ability to add more [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 5 years ago.
Improve this question
I am in need of creating a table that will get its data from a database (this is done:) ).
The users must be able to filter the table if they want to find specific rows based on the their input.
The table will have around 33 columns which not all of them will be visible, but the user can drag and drop new columns whenever he likes. and be able to filter the table using values from these columns as well.
The table will look like this and every time the user inputs something on the top of a column then the table will get filtered based on that column. also multiple filters can be placed.
Any suggestions on how to do this? is it even possible?
I would like suggest you to use http://yadcf-showcase.appspot.com/DOM_source_chosen.html jquery plugin for datatable also it works with ajax source

Dynamic form CodeIgniter, Attribute Form in Database [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 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

Keep track of user selected elements even after they leave the page [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
I am making an enrollment system in which users can select courses that they wish to take. It is a multi-page website where users first select a topic then they are directed to a new page where a list of courses associated with that topic is loaded from a MySQL database. When the user finds a course they want they click on a button and the course is added to a session variable with an AJAX call. I want to add an image or text that lets the user know that they added that course once they do. Currently there is no way the user can tell if they added the course or not. This of course is easily done when the user first adds the course. I can have a hidden image that is toggled on click. This however will be forgotten on page reload.
The question is, how can I flag the course(s) they added if they reload the page or leave that topic's page and later come back to it?
A possible solution that I came up with was to upon every page load to search the list of courses that are in the session variable for matches on that current page, then set the "Added" image to visible using jQuery. Is this a good solution? Is there a better one? I hope this is not too open-ended.
yes you can do it as you described on your own (the jQuery way)
maybe a:visited could do the job for you (i don't think so but you never know before trying)
regards :)

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.

Categories