File: dbMysql/test.php

Recommend this page to a friend!
  Classes of Kemal GENIS  >  DB Classes  >  dbMysql/test.php  >  Download  
File: dbMysql/test.php
Role: Example script
Content type: text/plain
Description: Example script
Class: DB Classes
Access different types of databases
Author: By
Last change: .update
Date: 1 year ago
Size: 392 bytes


Class file image Download
('Content-Type: text/html; charset=utf-8');

$db = new dbMysql('db_server', 'db_user', 'db_pass', 'db_name');

"<pre>".var_export($db->fetchObject("SELECT, p.page_name, pt.page_title, pt.page_content, pt.page_keyword, p.indate, pt.lang FROM pages p INNER JOIN pages_trans pt ON pt.parent_id = WHERE pt.lang='en'"), true)."</pre>";

For more information send a message to info at phpclasses dot org.