Hi there. Thanks for the response. I removed the ; and now I'm getting a parse error on another line which I thnk may be at the bottom of the program. Do you seen anything?
SHaron
<?
if($radiogo =="update")
{
print $stores;
}
elseif($radiogo =="viewall")
{
$query= "SELECT * FROM shiplist WHERE quantity > 0 AND store = '$stores' ORDER BY date";
$result= mysql_query($query) or print(mysql_error());
$getstorearray=mysql_fetch_array($result, MYSQL_ASSOC) or print(mysql_error());
echo "<p align='center'><font size='4'>Shipped Log: Store $stores</font></p>";
print "<br>";
while ($row= mysql_fetch_array($getstorearray)){
extract($row);
PRINT<<<END
<table border="1" width="75%" cellpadding="0" cellspacing="0" align="center">
<tr>
<td width="20%">$date</td>
<td width="35%">$item</td>
<td width="5%">$quantity</td>
<td width="15%">$enteredby</td>
</tr>
</table>
END;
}
}
?>