hi Hylsan,
I think following code will help you, if not please explain what is your expectation?
echo "<table border='1' bordercolor='#FFAA2A' bgcolor='#FFFFD4' cellspacing='0' cellpadding='3'>";
echo "<tr bgcolor='#C4E7C9'><td>Typ</td><td>Pris</td><td>Antal/förp</td><td>Lager</td><td colspan="2">toolbox</td></tr>";
# Hämtar all info från artikel
$artikel = mysql_query("SELECT * FROM artikel") or die(mysql_error());
while($row = mysql_fetch_array( $artikel ))
{
#skriver ut innehåller radvis
echo "<tr><td>";
echo $row['typ'];
echo "</td><td>";
echo $row['pris'];
echo "</td><td>";
echo $row['antal'];
echo "</td><td>";
echo $row['lager'];
echo "</td><td><img src='images/edit.gif'>";
echo "</td><td><img src='images/delete.gif'>";
echo "</td></tr>";
}
surendran
(Anything is Possible)
http://ssuren.spaces.msn.com