Tuesday, October 8, 2019

Month and Year MySQL format


$sql = $sql." AND MONTH(byr_tarikh)='".$bulan."' ";
$sql = $sql." AND YEAR(byr_tarikh)='".$tahun."' ";

and for loop

<?php
for ($x = 0; $x <= 10; $x++) {
    echo "The number is: $x <br>";
}
?>



No comments:

Post a Comment