hi all i have duplicated a script i had created and adapted it to something else i want and now im getting a Fatal error: Call to undefined function get_interests_data_from_post() in /home/jktempla/public_html/checkboxes/check.php on line 8
can someone help with this heres the coding for that section
<?php
include("connection.php");
$interests = get_interests_data_from_post() ;
/*
echo $interests . '<br/>';
*/
$query = 'insert into checkbox set name = "'.$interests ;
//echo $query ;
$insert = mysqli_query ( $mysqli,$query ) or die(mysqli_error($mysqli)) ;
if($insert)
{
//echo "added" ;
header("location: addedinterests.php");
exit;
}
function get_ltm_data_from_post(){
}
Thankyou in advance