<?php
include_once("class.mysql_datamodul_php5_v1.3.1.inc.php");
$dm = new Datamodul("localhost","root","","coffeebreak");
$dm->dm_info();
$dm->execute_sql("SELECT * FROM coffees");
$dm->dm_select_result_info();
$dm->execute_sql("SELECT c.*, c.cof_name as cname, supplier.sup_name FROM coffees c, supplier WHERE c.sup_id=supplier.sup_id");
$dm->dm_select_result_info();
?>
|