示例#1
0
function getTodayAllSupplyToTble()
{
    $dbmain = new DBmain();
    $res = $dbmain->selectAllData("today_supply");
    foreach ($res as $r) {
        echo $r['f_name'];
    }
}
 function getSuppliersToTble()
 {
     $dbmain = new DBmain();
     $res = $dbmain->selectAllData("suppliers", "LIMIT 0,25");
     foreach ($res as $r) {
         echo $r['f_name'];
     }
 }