The attached code which connects to mysql databse called users, starts with a form field user id
But when yu browse to the form, several fields are already filled with garbasge.
How can I solve this?
It would seem to me that the cause of the problem would be the variables that you are printing for the values of the "input" form fields have garbage values. You should print those variables out when you come in to the script. I would bet that they have the garbage values.