Discuss the use of particle systems in creating special effects in CGI motion.
<?php
$maxDate = date("2025-01-01");
$result ="SELECT * FROM courses WHERE status='active' and STR_TO_DATE(date1_from,'%m/%d/%Y') >= CURDATE()";
$result4 ="SELECT * FROM courses WHERE status='active' and STR_TO_DATE(date4_from,'%m/%d/%Y') >= CURDATE()";
$result5 ="SELECT * FROM courses WHERE status='active' and STR_TO_DATE(date5_from,'%m/%d/%Y') >= CURDATE()";
$result2 ="SELECT * FROM courses WHERE status='active' and STR_TO_DATE(date2_from,'%m/%d/%Y') >= CURDATE()";
$result3 ="SELECT * FROM courses WHERE status='active' and STR_TO_DATE(date3_from,'%m/%d/%Y') >= CURDATE()";
$query = $db_handle->runQuery($result);
$query += $db_handle->runQuery($result2);
$query += $db_handle->runQuery($result3);
$query += $db_handle->runQuery($result4);
$query += $db_handle->runQuery($result5);
if(!empty($query)) {
foreach($query as $cos){
$cos['date1_from'] = date("Y-m-d", strtotime($cos['date1_from']));
$cos['date2_from'] = date("Y-m-d", strtotime($cos['date2_from']));
$cos['date3_from'] = date("Y-m-d", strtotime($cos['date3_from']));
$cos['date4_from'] = date("Y-m-d", strtotime($cos['date4_from']));
$cos['date5_from'] = date("Y-m-d", strtotime($cos['date5_from']));
?>