הינה
PHP קוד:
$array=mysql_fetch_array($GuidesQuery);
$content ='';
foreach($array AS $arr) {
$content.= '
<table border="1" align="center">
<tr>
<td><a href="game.php?gID='.$arr["GameID"].'">'.$arr["GameName"].'</a></td>
</tr>
<tr>
<td>'.$arr["GameDate"].'</td>
</tr>
<tr>
<td>'.$arr["GameDesc"].'</td>
</tr>
</table>
';
}
רק שתדע, אם $arr["GameDesc"] או כל משתנה אחר במערך, הוא מערך נוסף, הפלט שלך יהיה Array( ).