Hi Norman, thanks for taking the time to help..
THis form is a secondary form that comes after they've become a member, so there is no validation required - they can leave teh fields empty.
And as for putting all the data in at once - you're absolutely right, I overlooked that completely.
I'm a real rookie, learned this PHP only a month and a half ago..
The data is passing through for sure - because when things ARE filled in, it goes on properly.
The reason why I want to add a NULL value is because, I want to enable users to take off information.
For instance, if they already have an msn address listed, and want to take it off, I want them to be able to go back to the form, leave it blank, and fill in whatever else they want to fill, and click submit, and the emtpy fields will go NULL.
So my SQL syntax of
mysql_query("UPDATE users SET age=NULL where id=$_SESSION[ID]");
is correct, right?
I'm really confused here, because the form works when I start off with an empty database(new user), and i fill inonly some of it, and it goes on.
And then when i come back, the fields will automatically show the value (<input.... value="<?php echo $userdata["msn"]?>">), and when i delete one of the values, intending to make it NULL again, all the fields go NULL!!!
So passing of information from teh form to the script is working....
I am a beginner, and I am really severely confused...
Thank you so much for your help.. I just need some more advice.
Or maybe I should just add a link that sends the user to the script that deletes the value for that specific field??? And leaving the form blank will just not update anything... would that be an easier option?