<?php
include_once("SQLDataManager/SQLDataManager.php");
$ConfigFile = "config/mysql_access.config";
$Sql = "select * from r_shop_data";
$SQLDataManager = new SQLDataManager($ConfigFile);
$SQLDataManager->setType("R");
$SQLDataManager->setSql($Sql);
$Status = $SQLDataManager->performSql();
if($Status == 1) {
$Results = $SQLDataManager->getResults();
$RowCount = $Results->getRowCount();
for($Row=0; $Row<$RowCount; $Row++) {
$ShopName = $Results->getRow($Row)->get_shop_name();
print($ShopName->getValue() . "<br/>");
print($ShopName->getUppercase() . "<br/>");
print($ShopName->getLowercase() . "<br/>");
}
}
else {
print("An error has occured.");
}
?>
|