database not Connect hello $data=get_ip_details(); $timezone=$data['timezone']; date_default_timezone_set($timezone); $date1=date('Y-m-d H:i:sP'); if(isset($_POST['Send'])) { $c1= $_POST['cap']; $c2= $_POST['capcha2']; if ($c1==$c2) { extract($_POST); $sel="INSERT INTO user_activity$user_id (user_activity_type,user_activity_desc,data2,timezone,timezone_time) values('$subject','$user_id','$formMessage','$timezone','$date1')"; $sel2=mysqli_query($conn,$sel); $sel11="INSERT INTO general_configuration (data1,data2,data3,timezone,timezone_time) values('$subject','$user_id','$formMessage','$timezone','$date1')"; // print_r($sel11);die(); $sel22=mysqli_query($conn,$sel11); echo "