• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Im from indonesian,

#1
[eluser]okiksetianto[/eluser]
hello all I am from Indonesia, I want to ask I have a table
tuserdata The following code
Code:
public function register($username, $first_name, $last_name, $email, $password, $confpass, $thlahir, $alamat, $postalzip){
$data=array(
'username'=>$username,
'first_name'=>$firstname,
'last_name'=>$lastname,
'email'=>$email,
'password'=>$password,
'confpass'=>$confpass,
'tglahir'=>$tglahir, //<=datepicker
'alamat'=>$alamat, //<=adrress
'postalzip'=>$postalzip
);

$this->db->insert('tuserdata, $data);
}

but after I run the database error
this is message error

a database erorr occured
erorr number 1146
table 'newmyslide.users' doesn't exist

SELECT * FROM ('users') Where 'username' = 'tesajainimah' LIMIT 1

db_driver.php
link number:330


anyone can help an explanation of the error above?:-)

#2
[eluser]InsiteFX[/eluser]
The table name is users and your trying to insert it into table tuserdata.

#3
[eluser]okiksetianto[/eluser]
[quote author="InsiteFX" date="1340540205"]The table name is users and your trying to insert it into table tuserdata.
[/quote]

okay im check this a suggestion.
thank's


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.