foreach ($_GET['idtime'] as $id_times) {
include "system/connect.php";
$query = mysql_query("SELECT * FROM time WHERE id_time=$id_times");
while($result = mysql_fetch_array($query)){
$time_start=$result["time_start"];
$time_stop=$result["time_stop"];
echo "$time_start - $time_stop";
}