Code: Select all
<div id="content">
<table width="470">
<tr valign="top"><td width="290"><div align="center"><strong>TITLE</strong></div></td><td width="180"><div align="center"><strong>ACTION</strong></div></td></tr>
<?php
include("../lib/config.php");
$result = mysql_query("SELECT * FROM suppliers_uk ORDER BY name ASC",$connect);
while($myrow = mysql_fetch_array($result))
{
echo "<tr><td><b>";
echo $myrow['name'];
echo "</b><br />";
echo $myrow['description'];
echo "</td><td><br /><a href=\"read_more.php?id=$myrow[id]\">Read More</a>
| <a href=\"edit.php?id=$myrow[id]\">Edit</a>
| <a href=\"delete.php?id=$myrow[id]\">Delete</a></td></tr><br />";
}
?>
</table>
<br /><br />
<div align="center">
<a href=index.php>Home</a> | <a href=add.php>Add Supplier</a>
</div>
</div>Russ