Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,150,830 members, 7,810,192 topics. Date: Friday, 26 April 2024 at 11:03 PM

How Can I Insert Registration Data Into MYSQL Database After Checking Checkbox - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / How Can I Insert Registration Data Into MYSQL Database After Checking Checkbox (1351 Views)

Problem With Checkbox In Php / Submit Checkbox Values In Form With Jquery / Android Quiz App With Php And MYSQL Database (2) (3) (4)

(1) (Reply) (Go Down)

How Can I Insert Registration Data Into MYSQL Database After Checking Checkbox by usman4people: 11:39am On Nov 08, 2016
[color=#990000][/color][/b] Please I am developing the student registration system, after displaying the registration course with their codes, I can't Insert the data into database after checking the desired course, Below is the picture, I am ready to PAY if I will be assisted, contact me @
usman4people@gmail.com The language is plai[b]n PHP mysqli and Bootstrap.

Re: How Can I Insert Registration Data Into MYSQL Database After Checking Checkbox by busycollins(m): 12:57pm On Nov 08, 2016
Which platform is this on.call me if u are ready 08151088073
Re: How Can I Insert Registration Data Into MYSQL Database After Checking Checkbox by francollimasso: 1:39pm On Nov 08, 2016
which language?
Re: How Can I Insert Registration Data Into MYSQL Database After Checking Checkbox by SeunLanLege(m): 3:09pm On Nov 08, 2016
usman4people:
[color=#990000][/color][/b] Please I am developing the student registration system, after displaying the registration course with their codes, I can't Insert the data into database after checking the desired course, Below is the picture, I am ready to PAY if I will be assisted, contact me @
usman4people@gmail.com The language is plai[b]n PHP mysqli and Bootstrap.

use javascript.

listen for change events on the select fields and ajax the value of the select fields to a php file that'll insert them into the db
Re: How Can I Insert Registration Data Into MYSQL Database After Checking Checkbox by BestbrainMaven(m): 8:17pm On Nov 08, 2016
if you looped thru 2 get d checkboxes, u shud add thier IDs as their values this way u can identify whch box was selected. And the value for the name attribute shud av an array notation e.g <input type="checkbox" name="course_id[]" value="(id e.g 1)"> . On the server side use or loop thru $_POST["course_id"][] to grab all selected courses. Make sure they have IDs on the database or any other identifier. Was it helpful?

1 Like

Re: How Can I Insert Registration Data Into MYSQL Database After Checking Checkbox by ekeroyal(m): 10:16pm On Nov 08, 2016
Mention the language you're working with. Will help you tomorrow if you haven't found a solution till then. Sleepy eyes.

1 Like

Re: How Can I Insert Registration Data Into MYSQL Database After Checking Checkbox by trytillmake(m): 11:35am On Nov 09, 2016
if in php check this link https://www.formget.com/php-checkbox/

if in .net mvc check this link http://www.aspdotnet-pools.com/2014/07/how-to-bind-checkboxlist-by-model-data.html

if u still can not do it halla me, i am currently developing a portal with mvc on this.

1 Like 2 Shares

Re: How Can I Insert Registration Data Into MYSQL Database After Checking Checkbox by ekeroyal(m): 7:01pm On Nov 09, 2016
Really sorry bro., just realized I made a promise. Been so busy today. Guess you solved the issue based on the link trytillmake provided.

Please try providing some feedback.

Kudos!
Re: How Can I Insert Registration Data Into MYSQL Database After Checking Checkbox by usman4people: 7:21am On Nov 11, 2016
I am really happy with your kind contribution my guyz, without you I am nothing in this aspect. thanks

(1) (Reply)

Recommend A Good Apple Laptop For Programming / Is Nairaland Still Holding Challenges / What Is The Most Preferred Programming Language For A Web-based Startup?

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 14
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.