עדיין מציג דף לבן.. אני משתגע עם זה.. :P
הינה קוד ערכתי אותו כמו ש miniature תיקן:
PHP קוד:
<? php
$link = mysql_connect("localhost","instforums_dfs","114477");
mysql_select_db("instforums_dfs",$link);
if (!$_GET['id']) {
echo "main page";
}
else {
$query = "SELECT * FROM gui WHERE id={$_GET['id']}";
$result = mysql_query($query , $link);
while($row = mysql_fetch_array($result)) {
echo "<table border='1' width='527' height='482'>";
echo "<tr>";
echo "<td height='23' width='131' valign='top'>$row['name']</td>";
echo "<td height='48' width='380' rowspan='2' valign='top'>$row['gname']</td>";
echo "</tr>";
echo "<tr>";
echo "<td height='23' width='131'>$row['date']</td>";
echo "</tr>";
echo "<tr>";
echo "<td height='426' width='527' colspan='2'>$row['msg']</td>";
echo "</tr>";
echo "</table>";
}
}
?>