it makes NO sense to me. my brain is hurting. even my friend who does programming said it makes no sense. this script is to edit a profile saved in a mysql database. the profile already exists... this just simply changes the data. (for some reason can't post code...) ..problem: whenever I submit this form, it blanks out the database! I've tried everything, from putting the variables within quotes, to changing the mysql query. finally I got rid of the sessions and tried a dry run with no pre-saved data -- it worked flawlessly! but as soon as I turn on sessions and have the form pre-filled with session data, even when that data is changed or left the same, it sends BLANKS to the database... BUT WHAT IS INSANE: if I do echo $query; it shows me a valid mysql query!! is there some sort of crazy weirdness? am I going about this completely wrong? please, someone help. also, no one haxx0r my server. thanks.