Problems writing to MySQL
Posted 25 February 2006 - 10:13 PM
Like I said, it posts most of the record correctly with a small exception like the ones above. Also, it might post 99 records correctly, but then one day I get a glitch.
I've only got about 500 members right now, so it's not a big deal. But when I get up to 5,000+ members, these glitches will become a daily occurance!
Do anyone know why this might happen? Is there any way of keeping this from happening? I've only been using PHP and MySQL for a year, so I'm not expert, but I'm assuming this isn't normal.
Thanks in advance for your suggestions.
Posted 26 February 2006 - 02:36 AM
Posted 26 February 2006 - 03:31 AM
It's impossible to say for certain without looking over the code. Could they just be users making errors?
Not likely. I've got verifiers on all of the fields. However, I'm wondering if the verifiers could be causing the problem. For example, maybe if they get a verification error page and then go back to correct the mistake, some data gets lost in the process. I know that they have to re-enter password and state/city info after getting a verification error page. The person's sex doesn't get dropped under normal circumstances, but maybe it's happening under abnormal circumstances. For example, when I first tested the system, if made a mistake in filling out forms and got and error page and then did the same thing again, it would often not accept your record even if you finally got everything entered correctly. I got that problem fixed, but maybe there's another one hidden in there.
Believe it or not, your question helped me. Thanks!
Posted 11 June 2007 - 07:38 AM
Please check the database type of the particular field.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users