Is there some particular reason why you are trying to use three queries to do the job of one?
Also since the password and email are text fields and not numbers the values need to be wrapped in quotes.
mysql_query("UPDATE Member SET PassWord='$ui', email='$ei', Age=$ag WHERE UserName='$user'")
Note also that the mysql_ interface is obsolete and marked for deletion from PHP - Use the mysqli_ interface instead.
Also use prepare and bind instead of query so as to keep the data separate from the query.
Finally never assign $_POST values directly to fields - you should validate their content first.