Welcome Guest, Not a member yet? Register   Sign In
No tables used
#1

I need your help
I want to update a database, but I get an error message 

Error Number: 1096
No tables used

SELECT * WHERE 0 = 'Small' LIMIT 1

Filename: C:/xampp/htdocs/billing/system/database/DB_driver.php
Line Number: 691

and this is the query syntax in the model
public function edit($data)
   {
      $this->db->where('id_type'$data['id_type']);
      $this->db->update('type'$data);
   }


but in different models using such a syntax does not get an error message
Reply


Messages In This Thread
No tables used - by dirty12 - 01-19-2021, 08:23 PM
RE: No tables used - by iRedds - 01-20-2021, 06:11 AM



Theme © iAndrew 2016 - Forum software by © MyBB