The page is http://www.coopmediante.net/page/utenti/master.php In the database i have
3 records. the page no print a video the records, because??
Help me...help me!
Tanks you very much!...is correct much?
Bey bey
Michele
?php
//Copyright (c) Interakt Online 2001
//http://www.interakt.ro/
require(./../../adodb/adodb.inc.php);
require(./../../Connections/coopmediante.php);
??php
$Recordset1=$coopmediante-Execute(SELECT * FROM utente, installatore WHERE
installatore.IDinstallatore = utente.IDinstallatore) or
DIE($coopmediante-ErrorMsg());
$Recordset1_numRows=0;
$Recordset1__totalRows=$Recordset1-RecordCount();
??php
$Repeat1__numRows = 10;
$Repeat1__index= 0;
$Recordset1_numRows = $Recordset1_numRows + $Repeat1__numRows;
??php
// *** Recordset Stats, Move To Record, and Go To Record: declare stats variables
// set the record count
$Recordset1_total = $Recordset1-RecordCount();
// set the number of rows displayed on this page
if ($Recordset1_numRows 0) {// if repeat region set to all records
$Recordset1_numRows = $Recordset1_total;
} else if ($Recordset1_numRows == 0) {// if no repeat regions
$Recordset1_numRows = 1;
}
// set the first and last displayed record
$Recordset1_first = 1;
$Recordset1_last = $Recordset1_first + $Recordset1_numRows - 1;
// if we have the correct record count, check the other stats
if ($Recordset1_total != -1) {
$Recordset1_numRows = min($Recordset1_numRows, $Recordset1_total);
$Recordset1_first = min($Recordset1_first, $Recordset1_total);
$Recordset1_last = min($Recordset1_last, $Recordset1_total);
}
??php
// *** Recordset Stats: if we don't know the record count, manually count them
// set the number of rows displayed on this page
if ($Recordset1_numRows 0 || $Recordset1_numRows $Recordset1_total) {
$Recordset1_numRows = $Recordset1_total;
}
// set the first and last displayed record
$Recordset1_last = min($Recordset1_first + $Recordset1_numRows - 1,
$Recordset1_total);
$Recordset1_first = min($Recordset1_first, $Recordset1_total);
??php $MM_paramName = ; ??php
// *** Move To Record and Go To Record: declare variables
$MM_rs = $Recordset1;
$MM_rsCount = $Recordset1_total;
$MM_size = $Recordset1_numRows;
$MM_uniqueCol = ;
$MM_paramName = ;
$MM_offset = 0;
$MM_atTotal = false;
$MM_paramIsDefined = ($MM_paramName != isset($$MM_paramName));
??php
// *** Move To Record: handle 'index' or 'offset' parameter
if (!$MM_paramIsDefined $MM_rsCount != 0) {
// use index parameter if defined, otherwise use offset parameter
if(isset($index)){
$r = $index;
} else {
if(isset($offset)) {
$r = $offset;
} else {
$r = 0;
}
}
$MM_offset = $r;
// if we have a record count, check if we are past the end of the recordset
if ($MM_rsCount != -1) {
if ($MM_offset = $MM_rsCount || $MM_offset == -1) { // past end or move last
if (($MM_rsCount % $MM_size) != 0) { // last page not a full repeat region
$MM_offset = $MM_rsCount - ($MM_rsCount % $MM_size);
}
else {
$MM_offset = $MM_rsCount - $MM_size;
}
}
}
// move the cursor to the selected record
for ($i=0;!$MM_rs-EOF ($i $MM_offset || $MM_offset == -1); $i++) {
$MM_rs-MoveNext();
}
if ($MM_rs-EOF) $MM_offset = $i; // set MM_offset to the last possible record
}
??php
// *** Move To Record: if we dont know the record count, check the display range
if ($MM_rsCount == -1) {
// walk to the end of the display range for this page
for ($i=$MM_offset; !$MM_rs-EOF ($MM_size 0 || $i $MM_offset + $MM_size);
$i++) {
$MM_rs-MoveNext();
}
// if we walked off the end of the recordset, set MM_rsCount and MM_size
if ($MM_rs-EOF) {
$MM_rsCount = $i;
if ($MM_size 0 || $MM_size $MM_rsCount) $MM_size = $MM_rsCount;
}
// if we walked off the end, set the offset based on page size
if ($MM_rs-EOF !$MM_paramIsDefined) {
if (($MM_rsCount % $MM_size) != 0) { // last page not a full repeat region
$MM_offset = $MM_rsCount - ($MM_rsCount % $MM_size);
} else {
$MM_offset = $MM_rsCount - $MM_size;
}
}
// reset the cursor to the beginning
$MM_rs-MoveFirst();
// move the cursor to the selected record
for ($i=0; !$MM_rs-EOF $i $MM_offset; $i++) {
$MM_rs-MoveNext();
}
}
??php
// *** Move To Record: update recordset stats
// set the first and last displayed record
$Recordset1_first = $MM_offset + 1;
$Recordset1_last = $MM_offset + $MM_size;
if ($MM_rsCount != -1) {
$Recordset1_first = $Recordset1_first$MM_rsCount?$Recordset1_first:$MM_rsCount;
$Recordset1_last = $Recordset1_last$MM_rsCount?$Recordset1_last:$MM_rsCount;
}
// set the boolean used by hide region to check if we are on the last record
$MM_atTotal = ($MM_rsCount != -1 $MM_offset + $MM_size = $MM_rsCount);
??php
// *** Go To Record and Move To Record: create strings for maintaining URL and Form
parameters