how send / get multiple only checked values from check box with query sting

AOA
i am new in php
i have a problm with my script …
actually i want to send only checked checkboxes data with query string …
in one check box there are multiple values i.e course ID, course Name , course type
i need these values individually in query string to insert in database
please reply me as soon as possible

<?php .............. ........... ...... while ($rsaCou = mysql_fetch_assoc($resCou)) { $couId = $rsaCou['couId']; $couName = $rsaCou['couName']; $couTName = $rsaCou['couTName']; $credithourz = $rsaCou['creditHourz']; ?> <?php echo $couId; ?> <?php echo $couName; ?> <?php echo $couTName; ?> <?php echo $credithourz; ?> <?php

foreach($check as $name => $value)
echo “$name -------- > $values”;

?>

<?php }} }}?> &couName=<?php echo $_POST[$couName]; ?>&couTName=<?php echo $_POST[$couTName]; ?>'">

thnku :slight_smile:

Sponsor our Newsletter | Privacy Policy | Terms of Service