Welcome Guest, Not a member yet? Register   Sign In
How to insert corporate details into database
#3

(11-16-2020, 12:39 PM)InsiteFX Wrote:
PHP Code:
$this->Afghanistancorporate_model->insert_corporate($corporatename$password$countryterritory); 

Place that after all your inputs.

Thanks InsiteFX. To be certain that I understand you correctly, this is what I changed to.

PHP Code:
public function insert_corporate($corporatename$password$countryterritory)
    {
    
$data = array('corporate_name'=> $corporatename'pass_word'=> $password'country_territory'=> $countryterritory);
    
$this->db->insert('tbl_corporates'$data);
    
$this->Afghanistancorp_model->insert_corporate($corporatename$password$countryterritory);
    } 

But it didnt work.

Ive even tried inserting the same data into 3 spare columns I have in the members table but still didnt work.

Ive clicked on "create view" in the corporate table and get an error message saying .... "It seems that the connection to the server has been lost" ....

But I get the same message if I do the same in the members table. The members table must be connected otherwise it wouldnt log in.
Reply


Messages In This Thread
RE: How to insert corporate details into database - by christaliise - 11-17-2020, 07:42 AM



Theme © iAndrew 2016 - Forum software by © MyBB