Does it show the details contained in profile or does it show everything except the details you just updated?

try adding 'or die(mysql_error())' after mysql_query and look for any errors!