I've been messing with this script to give people personal profiles on my website for about a week now, and it's almost done, though while I was testing everything I noticed that once I had entered something into a field, I could not removed it from the edit page.
The edit page populates the textboxes from mysql, but deleting the information from the textbox and then submitting back to sql doesn't remove it from the database.
I'm not really sure why this is happening since I've never had a problem with this before (the older version of the script I wrote 3 years ago allowed me to do this, but it's a piece of crap with security holes all over).
Any ideas? :?
Updating it with a space makes it go away, but just a blank box doesn't. I'm sure I'm just being dumb right now due to lack of sleep.
The edit page populates the textboxes from mysql, but deleting the information from the textbox and then submitting back to sql doesn't remove it from the database.
I'm not really sure why this is happening since I've never had a problem with this before (the older version of the script I wrote 3 years ago allowed me to do this, but it's a piece of crap with security holes all over).
Any ideas? :?
Updating it with a space makes it go away, but just a blank box doesn't. I'm sure I'm just being dumb right now due to lack of sleep.
