Author Topic: Problems Writing MYSQL  (Read 291 times)

0 Members and 1 Guest are viewing this topic.

Offline The-Last-EscapeTopic starter

  • Enthusiast
  • Posts: 125
  • Gender: Male
    • View Profile
    • The-Last-Escape
Problems Writing MYSQL
« on: May 02, 2007, 11:19:56 AM »
ve been running a dating site written in php/mysql. Most of it was built by someone else and I've done some minor modifications. It works fine 99% of the time, but occassionally it makes small errors when writing a record to the database. For example, it might post a record for a new member and all of the info is correct except it doesn't post the "M" or "F" for male or female. Or it might be a logical field and it posts a "N" instead of a "Y".

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.
 
 

Offline thorpe

  • Administrator
  • 'Mind Boggling!'
  • *
  • Posts: 29,256
    • View Profile
Re: Problems Writing MYSQL
« Reply #1 on: May 02, 2007, 11:43:43 AM »
We need to see the relevent code.