شكراً أخوي the hak على ردك
ولكني مبتدأ ولم أفهم ماذا تقصد
الكود الذي كتبته هو التالي:
كود PHP:
$ss = mysql_connect ("localhost","root","");
$we = mysql_db_query ("new","select * from ss");
echo "<table border=\"1\">\n";
echo " <tr>\n";
echo " <td width=\"5%\" align=\"center\"><b>1</b></td>\n";
echo " <td width=\"30%\" align=\"center\"><b>2</b></td>\n";
echo " <td width=\"30%\" align=\"center\"><b>3</b></td>\n";
echo " </tr>\n";
echo "</table>";
echo "<br>";
echo "<table border=\"1\">\n";
while ($row = mysql_fetch_array ($we)){
echo " <tr>\n";
echo " <td width=\"5%\" align=\"center\"><b>$row[no]</b></td>\n";
echo " <td width=\"30%\" align=\"center\"><b>$row[1]</b></td>\n";
echo " <td width=\"30%\" align=\"center\"><b>$row[2]</b></td>\n";
echo " <td width=\"15%\" align=\"center\"><b>$row[3]</b></td>\n";
echo " </tr>\n";
}
echo "</table>";
أين أضع ما تقول يا أخي؟؟؟؟؟؟