Hej
Er der nogen der kan fortælle mig hvad der er galt med nedstående
kode? Jeg får kun en blank side når jeg klikker på den.
<?php
include 'protected/Database.php';
$result = mysql_query("SELECT Sawir, Magac, Noc, Nambar, Sanad,
Ku Saabsan, So Saare, Isku Dubaridaha, Jilaayaasha FROM Hindi");
while ($row = mysql_fetch_array($result, MYSQL_ASSOC)) {
printf("<html><head><title>Chhote Sarkar</title></head><body><p
align=center><b><font size=6>%s</font></b></p><p
align=center><img border=0 src=Sawir/%s width=277
height=316></p><div align=center> <center><table border=1
cellpadding=0 cellspacing=0 style=border-collapse: collapse
bordercolor=#111111 width=62% height=127><tr><td width=100%
height=22> <p class=MsoNormal style=margin-top: 0; margin-bottom:
0><b> Magac<span lang=EN-GB>: </span></b>%s</p> <p
class=MsoNormal style=margin-top: 0; margin-bottom: 0> </td>
</tr> <tr> <td width=100% height=22> <p style=margin-top: 0;
margin-bottom: 0><b>Noc: </b>%s</p> <p style=margin-top: 0;
margin-bottom: 0> </td> </tr> <tr> <td width=100% height=20>
<p class=MsoNormal style=margin-top: 0; margin-bottom:
0><b>Number<span lang=EN-GB>: </span> </b>%s</p> <p
class=MsoNormal style=margin-top: 0; margin-bottom: 0> </td>
</tr> <tr> <td width=100% height=16> <p class=MsoNormal
style=margin-top: 0; margin-bottom: 0><b>Sanad<span lang=EN-GB>:
</span> </b>%s</p> <p class=MsoNormal style=margin-top: 0;
margin-bottom: 0> </td> </tr> <tr> <td width=100% height=24>
<p class=MsoNormal style=margin-top: 0; margin-bottom: 0><b>Ku
Saabsan<span lang=EN-GB>: </span> </b>%s</p> <p class=MsoNormal
style=margin-top: 0; margin-bottom: 0> </td> </tr> <tr> <td
width=100% height=21> <p class=MsoNormal style=margin-top: 0;
margin-bottom: 0><b>So Saare<span lang=EN-GB>: </span> </b>%s</p>
<p class=MsoNormal style=margin-top: 0; margin-bottom:
0> </td> </tr> <tr> <td width=100% height=19> <p
class=MsoNormal style=margin-top: 0; margin-bottom: 0><b>I<span
style=color: black>sku Dubaridaha</span><span lang=EN-GB
style=color: black>:</span></b> %s</p> <p class=MsoNormal
style=margin-top: 0; margin-bottom: 0> </td> </tr> <tr> <td
width=100% height=20> <p class=MsoNormal style=margin-top: 0;
margin-bottom: 0><b> Jilaayaasha<span lang=EN-GB>:
</span></b><font face=Times New Roman> <span style=color: red>
<font color=#000000>%s</font></span></p> <p class=MsoNormal
style=margin-top: 0; margin-bottom: 0> </p> </td> </tr>
</table></center></div></body></html>", $row["Sawir"],
$row["Magac"], $row["Noc"], $row["Nambar"], $row["Sanad"],
$row["Ku Saabsan"], $row["So Saare"], $row["Isku Dubaridaha"],
$row["Jilaayaasha"]);
}
mysql_free_result($result);
?>
På forhånd Tak
Heysam
--
Vil du lære at kode HTML, XHTML, CSS, SSI, ASP eller ASP.NET?
- Pædagogiske tutorials på dansk
- Kom godt i gang med koderne
KLIK HER! =>
http://www.html.dk/tutorials