dreampolice
Technical User
I am trying to figure out how this translates so I can use this piece of script I found to connect to an Oracle database and show record info:
Code:
include('config_basededatos_main.php'); //an include file that has database connection parameters?
$basededatos = connect_to_db ($Dbs["basededatos"]); //not sure about this part
$sqltecnicos="SELECT * FROM PRUEBAEXCEL";
$result = &$easymanage->Execute($sqltecnicos); //what is easymanage and how or what is this doing?
$count = $result->RecordCount();
for ($i = 0; $i < $count; $i++){
$nombrefield=$result->FetchField($i);
$header .= $nombrefield->name.",";
}
while($row = $result->FetchRow()){
....