SkySimple

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

selectone($table,$id)

$data=$db->selectone('users',47);
$data now will hold an array with one entry, if your table have fields like: id, name, password you can access those by:
$data[0]['id']
$data[0]['name']
$data[0]['password']

return
entry or false if id or file not found

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