Welcome Guest, Not a member yet? Register   Sign In
sessions not enabled on go daddy server
#20

[eluser]labao[/eluser]
and then from there it goes into the last controller which inserts the order into the table

Code:
function order_insert()
    {
    $subject = "Rentaride Order Confirmed";
    
        $pageID = $this->uri->segment(3);
    
     $month=$this->session->userdata('monthpick');
    
     $car=$this->session->userdata('vehicle');
  
     $day=$this->session->userdata('daypick');
  
   $day2=$this->session->userdata('daydrop');
  
   $session_id = $this->session->userdata('session_id');
   $price=$this->session->userdata('vehicle_p');
  
   $cost = ($day2-$day)*$price;
  
   $date_start = "2010-$month-$day";
    $date_end = "2010-$month-$day2";
    
    

    
    
    $query="INSERT INTO rentaride.order VALUES (NULL,'$session_id','$car','$cost','$month','$date_start','$date_end') ";
    
    $mysql_stuff = mysql_query($query);
    
    $mailquery="SELECT * FROM rentaride.myform WHERE session_id = '$session_id'";

    $mysql_stuff2 = mysql_query($mailquery);
    $email = $mailquery['email'];
    $message="sup dude";
    $from="lorne";
    $headers="from: $from";
    
    mail($email,$subject,$message,$from,$headers);
    
    
    

    
    
     $data = array(
         'pageID' => $pageID
         );    
        
        $this->load->view('template',$data);
    }

the code is still working locally and I have tried everything that everyone has previously suggested... my config file is just fine, all the database tables and columns are there.

Thanks a ton to everyone here who has tried...


Messages In This Thread
sessions not enabled on go daddy server - by El Forum - 04-09-2010, 04:33 AM
sessions not enabled on go daddy server - by El Forum - 04-09-2010, 10:37 AM
sessions not enabled on go daddy server - by El Forum - 04-09-2010, 11:10 AM
sessions not enabled on go daddy server - by El Forum - 04-09-2010, 11:20 AM
sessions not enabled on go daddy server - by El Forum - 04-09-2010, 11:25 AM
sessions not enabled on go daddy server - by El Forum - 04-09-2010, 11:34 AM
sessions not enabled on go daddy server - by El Forum - 04-09-2010, 12:51 PM
sessions not enabled on go daddy server - by El Forum - 04-09-2010, 01:31 PM
sessions not enabled on go daddy server - by El Forum - 04-09-2010, 01:40 PM
sessions not enabled on go daddy server - by El Forum - 04-09-2010, 01:57 PM
sessions not enabled on go daddy server - by El Forum - 04-09-2010, 02:23 PM
sessions not enabled on go daddy server - by El Forum - 04-09-2010, 02:41 PM
sessions not enabled on go daddy server - by El Forum - 04-09-2010, 02:47 PM
sessions not enabled on go daddy server - by El Forum - 04-09-2010, 02:47 PM
sessions not enabled on go daddy server - by El Forum - 04-09-2010, 07:56 PM
sessions not enabled on go daddy server - by El Forum - 04-09-2010, 08:03 PM
sessions not enabled on go daddy server - by El Forum - 04-09-2010, 08:04 PM
sessions not enabled on go daddy server - by El Forum - 04-09-2010, 08:07 PM
sessions not enabled on go daddy server - by El Forum - 04-09-2010, 08:11 PM
sessions not enabled on go daddy server - by El Forum - 04-09-2010, 08:14 PM
sessions not enabled on go daddy server - by El Forum - 04-15-2010, 02:17 PM



Theme © iAndrew 2016 - Forum software by © MyBB