Checkbox an values to transmit to database
Checkbox an values to transmit to database I'm new here and I need help with a PHP code. I want to transform a radio button into a checkbox, make it calculate the fee depending on how much checkboxes are checked, and to transmit the checked values to the predefined database. My code only takes the one predefined value for fee an doesn't actually adds them up when I click on the other checkbox. I tried everything but with no success. Here is the original unchanged code: <script src="<?php echo URL_FRONT_JS;?>jquery.js"></script> <script> function get_tutor_course_details() { course_slug = $('#course_slug option:selected').val(); selected_date = $('#start_date').val(); if(!course_slug || !selected_date) { $('#fee').text(''); $('#duration').text(''); $('#days_off').text(''); $('#content_li')....