$current_year

  1. M

    PHPMySQL Looping SELECT, is it possible?

    i extract years from mysql using the array loop like this, foreach (array(date('Y', strtotime($row['drilling_date']))) as $v) { //1988, 1989, 1990 and so on.. $current_year = $v; $next_year = $v+1; // which shows the year nest to $current_year // problem here } Is there any way i...
Top Bottom