SimpleDB

Klasa PHP do połączeń z MySQL.

Lekka i łatwa do zastosowania dla Twojej aplikacji php.

Linki:

Strona projektu: WWW

Zgłaszanie błędów: WWW

Repozytorium: http://simplemysqlclass.googlecode.com/svn

Prosty sposób użycia klasy:

  1. require_once(‘mysql_driver.php’); //include class file
  2.  
  3. $DB = new DB_MYSQL; //connect to database
  4.  
  5. $DB->query(‘SELECT host FROM user’); //send query
  6.  
  7.         $buffer = $DB->fetch()) //fetch result to array – basic method (from last query)
  8.  
  9.         echo $buffer[‘host’]; //where ‘host’ is a name of desired row in table
VN:F [1.8.1_1037]
Rating: 0.0/10 (0 votes cast)
Podziel się z innymi:
  • Digg
  • Facebook
  • Google Bookmarks
  • Wykop

Speak Your Mind

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!