SetFetchMode(ADODB_FETCH_ASSOC); $cn->PConnect($HOST, $DBUSER, $PASS, $DBNAME); #$cn->debug = true; $page = "home"; ?>
    Execute($sql); if($rs->RecordCount() > 0) { while(!$rs->EOF) { echo '
  • '.$rs->fields['category_name'].'
  • '; $rs->MoveNext(); } } $rs->Close(); $cn->Close(); ?>