我的查询突然停止工作。我知道它是荷兰语,但你能发现任何错误吗?没有 MySQL 错误。他只是不会将 $content 写入屏幕。我尝试了很多东西。他只是停止工作
<?php
$activiteiten= "SELECT 
                activiteiten.ActiviteitID,
                activiteiten.Naam,
                activiteiten.plaatsen,
                agenda.TijdBegin,
                agenda.TijdEind,
                agenda.AgendaID,
                reserveren.ReserveringTijd
                FROM 
                activiteiten,
                agenda,
                reserveren
                WHERE
                agenda.ActiviteitID = activiteiten.ActiviteitID
                AND
                agenda.AgendaID = reserveren.AgendaID
                ";
$result = mysql_query($activiteiten) or die(mysql_error());
    $content .= '<tr>';
    $content .= '<td>'.$record['Naam'].'</td>';
    $content .= '<td>'.$record['ReserveringTijd'].'</td>';
    $content .='<td>Beschikbare plaatsen:'.$record['plaatsen'].'</td>';
    $agendaID= $record['AgendaID'];
    $agendaData = agendaData($agendaID);
    $content.= '<td>aantal reserveringen:'.$agendaData["reserveringen"].'</td>';
    $content.= '</tr>';
}