so far i got:
Code: Select all
require "ms_config/db.php";
//connect - using ADOdb lite syntax
$db = NewADOConnection('mysql');
$db->Connect($db_host,$db_user,$db_pw,$db_db);
$query1 = "SELECT * FROM sometable";
$result1 = $db->Execute($query1);
Code: Select all
while ($result1 && $row = $result1->FetchRow())
Code: Select all
$db = cmsms()->GetDb
but more importantly, what is the correct way to loop through while condition? or how do i extend the library and include what i believe is called "pear" in cmsms UDT? if you know of a beginner's manual / tutorial site, a link would be much appreciated.
Thanks,