PHP Classes

File: test.php

Recommend this page to a friend!
  Classes of Tamas Hernadi   Datamodul   test.php   Download  
File: test.php
Role: Example script
Content type: text/plain
Description: test
Class: Datamodul
MySQL database access wrapper
Author: By
Last change:
Date: 15 years ago
Size: 400 bytes


Class file image Download

$dm = new Datamodul("localhost","root","","coffeebreak");

$dm->execute_sql("SELECT * FROM coffees");

$dm->execute_sql("SELECT c.*, c.cof_name as cname, supplier.sup_name FROM coffees c, supplier WHERE c.sup_id=supplier.sup_id");