hello I want to save the checkbox in the db.
but this error keep showing.
Notice: Undefined index: training in
here is my code
form method=“post” action=“interface/regvalidation_GT.php”>
Managerial Trainings: <br>
CEFE: Small Business Planning Course
CEFE Course on how to start a business
Accounting for Non Accountants
Basic Bookkeeping / Taxation and Business Experiential Workshop
Leadership and Entrepreneurship Motivation Course
$training=serialize($_POST[‘training’]); //takes the data from a post operation…
//$training = mysql_real_escape_string(implode(’,’, $_POST[‘training’]));
$sql=“INSERT INTO pending (mtrainings) VALUES (’$training’)”;