21-09-2009, 17:19
|
|
|
חבר מתאריך: 19.02.05
הודעות: 114
|
|
Html| אני זקוק לעזה עם טבלה
יש לי את הדבר הזה
קוד:
<?php
include 'add/top.php';
include 'add/config.php';
$sqlquery="SELECT * FROM users";
$theresult=@mysql_query($sqlquery,$contacts);
?>
<html>
<p align="center"><font size="6">רשימת צוות</font></p>
<table border="1" width="98%" id="table1">
<tr>
<td align="center">
<p dir="rtl" align="right"><b>שם</b></td>
<td align="center">
<p dir="rtl" align="right"><b>דואר אלקטרוני</b></td>
<td align="center">
<p dir="rtl" align="right"><b>נייד</b></td>
<td align="center">
<p dir="rtl"><b>תפקיד</b></td>
</tr>
<?php
while ($recordeset=@mysql_fetch_array($theresult))
{
echo "<tr>";
echo "<td>".$recordeset["name"]."</td>";
echo "<td>".$recordeset["email"]."</td>";
echo "<td>".$recordeset["cell"]."</td>";
echo "<td>".$recordeset["type"]."</td>";
echo "</tr>";
}
?>
<br>
</html>
<?php
include 'add/down.php';
?>
[אל תתיחסו ל php]
הבעייה שלי זה שהוא מציג לי את ה down.php מעל הטבלה,
תודה
|