Results 1 to 2 of 2

Thread: Only updating the database?

  1. #1
    Join Date
    May 2012

    Only updating the database?

    I'm only going to update a value back and fourth. I was told that instead of accessing all the way to the table and the row, I could just update the database value and make it even faster. Is this true?

    mysql_query('UPDATE table SET ($serverstats)');

    I have no IDEA what he might have meant, but the code over is currently my code as of now.

  2. #2
    Join Date
    Nov 2006
    Springfield, MO
    Yeah, I would think that SQL update would throw an exception, actually, almost positive it would.
    Ryan Butler

    Ryan Butler.org

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center

Recent Articles