New Site Amor

Vai ai contenuti

Menu principale:

open($connStr); //Open the connection to the database $query = "select [CognomeNome],[DataNascita],[Anni], giornoanno from Compleanni where GiornoAnno>='" . date("z") . "' and giornoanno<='" . (date("z")+7)."' group by [CognomeNome],[DataNascita],[Anni],giornoanno order by GiornoAnno, datanascita "; $rs = $conn->execute($query); //execute the SQL statement and return records $num_columns = $rs->Fields->Count(); // print_r($num_columns); //echo $num_columns . "\n"; for ($i=0; $i < $num_columns; $i++) { $fld[$i] = $rs->Fields($i); } echo ""; $rowcount = 0; while (!$rs->EOF) { echo ""; echo ""; echo ""; echo ""; echo ""; $rowcount++; // increments rowcount $rs->MoveNext(); } echo "
"; echo $fld[0]->value; echo ""; echo substr($fld[1]->value,8,2) . "/" . substr($fld[1]->value,5,2) . "/" . substr($fld[1]->value,0,4); echo ""; echo "(" . $fld[2]->value . ")"; echo "
"; $rs->Close(); $conn->Close(); $rs = null; $conn = null; ?>
open($connStr); //Open the connection to the database $query = "select *"; $rs = $conn->execute($query); //execute the SQL statement and return records $num_columns = $rs->Fields->Count(); // print_r($num_columns); //echo $num_columns . "\n"; for ($i=0; $i < $num_columns; $i++) { $fld[$i] = $rs->Fields($i); } echo ""; $rowcount = 0; while (!$rs->EOF) { echo ""; echo ""; echo ""; echo ""; echo ""; $rowcount++; // increments rowcount $rs->MoveNext(); } echo "
"; echo $fld[0]->value; echo ""; echo substr($fld[1]->value,8,2) . "/" . substr($fld[1]->value,5,2) . "/" . substr($fld[1]->value,0,4); echo ""; echo "(" . $fld[2]->value . ")"; echo "
"; $rs->Close(); $conn->Close(); $rs = null; $conn = null; ?>
#1948tuttonacquequi!
Torna ai contenuti | Torna al menu