The whole script is rather long but here is the relevant part
function doUpdate($id,$storename) {
$connection = mysql_connect("","","")
or die ("Unable to connect to MySQL server.");
$db = mysql_select_db("mpa", $connection) or die ("Unable to select
database.");
$update=mysql_query("UPDATE storelocations SET storename='$storename', address1='$address1', address2='$address2', city='$city', state='$state', country='$country', phone='$phone' WHERE retailerid='$retailerid'");
if ($update==TRUE) {
print"<table width=\"740\"><tr><td class=\"text\" align=\"center\">The store " .$storename. "was updated.";
print" Update another? <a href=\"storelist.php?cmd=update_stores&id=$retailerid\">Yes</a>";
print" <a href=\"storelist.php\">No</a></td></tr>";
}
////////////////////////
The part that keeps showing up on the page is
"The store " .$storename. "was updated."