Wow.... where to start?
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
EVIL!
Is this the code that is supposed to be updating but isn't?
$result = mysql_query("UPDATE litrasInfo SET libName='$libName', libCode='$libCode', libCat='$libCat',
address='$address', postcodee='$postcode', district='$district', dun='$dun', par='$par',
phone='$phone', fax='$fax', idTime='$idTime', zone='$zone' WHERE id='$id' ",$connect);
If so, change it to this:
echo "Query: <b>UPDATE litrasInfo SET libName='$libName', libCode='$libCode', libCat='$libCat',
address='$address', postcodee='$postcode', district='$district', dun='$dun', par='$par',
phone='$phone', fax='$fax', idTime='$idTime', zone='$zone' WHERE id='$id' </b><br>";
echo 'Number of rows updated: ' . mysql_affected_rows($connect);
and comment out the meta refresh tag. Make sure your SQL query is getting formatted correctly. If you're still puzzled, paste the output of the newly added echo lines here.