Hi there. The first if statement is always evaluated as true. WHY?FYI - $radiogo is a set of three radio butons all named radiogo.
if($radiogo=="insert") {
header("Location: shipsingle.php");
end;}
elseif($radiogo=="update"){
header("Location: static.php");
end;}
elseif($radiogo=="viewall"){
$query= "SELECT * FROM shiplist WHERE quantity > 0 AND store = '$store' ORDER BY date";
mysql_query($query) or print(mysql_error());
$getstorearray=mysql_fetch_array($query, MYSQL_ASSOC) or print(mysql_error());
echo $getstorearray;
end;}