include("notbil-inc/notbildb.php");
$sor = $notbildb->query("SELECT * FROM rezervasyon", PDO::FETCH_ASSOC);
if ( $sor->rowCount() ){
foreach( $sor as $cek ){
print $cek['rezervasyon_no']."
";
}
}
Konu: php ziyaretçi defteri
include("notbil-inc/notbildb.php");
$sor = $notbildb->query("SELECT * FROM rezervasyon", PDO::FETCH_ASSOC);
if ( $sor->rowCount() ){
foreach( $sor as $cek ){
print $cek['rezervasyon_no']."
";
}
}