SkySimple

Easy To Use Software
  • English (en)
  • Русский (ru)
  • SimpleControl CMS
  • SkyDB Class
    • Functions
      • insert
      • selectone
      • selectlimit
    • Connection
    • Creating Schema
    • Concept of Work
  • Contact

insert($table,$row)

Insert one entry

$db->insert('users',array('name'=>'John','pass'=>'qwerty'));

Replace entry:
$db->insert('users',array('id'=>1,'name'=>'John'));
If ID(row number) provided using insert(), the entry will be totally replaced!

If one or more fields are not provided during insertion they will be set to "" (empty).

return
true if entry is written or false otherwise

Powered by SimpleControl v0.1.1 - © 2008 SkySimple
Created in 0.002067