Search the Community
Showing results for tags 'crud'.
Found 2 results
CRUD Update page with Checkboxes
matthewlevering posted a topic in PHP Coding HelpGreetings All, This place is always so gracious in assisting help to struggling noob developers, I thought i would give this a try. I ran into a wall with my first intranet application. We have a forms library. Which is a basic CRUD set up. A user logs into creates a form. Other users go to edit it. I can't seem to figure out how to have checkboxes/radio buttons populate with the data from my database and be editable. I have each of these checkboxes going in as an array. I cant seem to be able to figure out how to see if the option is selected and then show as checked. And if not checked have it appear not checked. I want the update form to appear exactly as the create form but populated with data it was populated with previously. I think half my problem is being able to articulate the issue because google isn't yielding any good results. I would be extremely thankful and grateful to anyone who could point me in the right direction or send me to a good resource. Thank you for your Time.