ok thanks but hit a brick wall they wont appear wher ei want them heres the code
<html>
<title>
Global European Employee Shop
</title>
<body>
<h1>Welcome To The Shop</h1>
<br><br><br>
<table border=1 cellpadding=2 cellspacing=0><tr><th width="48">Item ID</th><th>Item Name</th><th>Item Price</th><th>Item Image</th><th>Purchase?</th></tr>
<?php
$DBhost = "localhost";
$DBuser = "******";
$DBpass = "******";
$DBName = "******";
$table = 'pilotinfo';
$conn = mysql_connect($DBhost,$DBuser,$DBpass) or die("Unable to connect to database")
or die ("couldnt connect");
mysql_select_db("$DBName", $conn) or die("Unable to select
database $DBName");
$id = $_POST['id'];
$pssword = md5($_POST['pword']);
$temp = mysql_query("SELECT * FROM pilotinfo WHERE id = '$id' AND pwrd = '$pssword'",$conn)
or die("didnt work");
$row = mysql_fetch_array($temp)or die("We are sorry but either the name you entered doesn't match your record on our server (check the roster) or we have no record of that name on the server");
mysql_close();
$code = $row['regcode'];
$string1 = "Your Current Account Balance Stands at <b>v£</b>";
$string2 = $row['funds'];
print($string1."<b>$string2</b>");
$num = mysql_num_rows($temp);
if ($num == 1)
{
$shopquery = mysql_query("SELECT * FROM shopitems",$conn)
or die (mysql_error());
}
while ( $shoprow = mysql_fetch_array($shopquery))
{
extract($shoprow);
if ($string2 > $itemprice)
{
$buy = print("<input type=\"button\" name=\"order\" value=\"order\">");
} else {
$buy = print("<input type=\"button\" name=\"order\" value=\"order\" disabled=\"disabled\">");
}
print("<tr><td>$itemid</td><td>$itemname</td><td>£$itemprice</td><td><img src=/'/' width=/'500/' height=/'400/' >$itemimage</td><td>$buy</td></tr>");
print("</table>");
}
?>
</body>
</html>
the buttons appear above and below the table not inteh table and 2 how do i get the download link off the button?