#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2000
    Location
    saltillo,Coahuila,Mexico
    Posts
    5
    Rep Power
    0
    Im using the UPDATE..WHERE statement, and
    I need to know the number of rows affected
    after the execution of the UPDATE, is there
    any function to do that? ...

    I'm using PHP and MYSQL.


    Thanx, Carlos.

    [This message has been edited by salarico (edited September 26, 2000).]
  2. #2
  3. No Profile Picture
    RyanP
    Guest
    Devshed Newbie (0 - 499 posts)
    mysql_affected_rows() should work

    RTFM please
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2000
    Location
    saltillo,Coahuila,Mexico
    Posts
    5
    Rep Power
    0
    Thank you, that did it for me. Carlos

Similar Threads

  1. SQL code to update rows in a group
    By WriterGirlUSA in forum Visual Basic Programming
    Replies: 2
    Last Post: February 9th, 2004, 09:41 AM
  2. is number a prime number program
    By easy in forum Java Help
    Replies: 2
    Last Post: January 30th, 2004, 04:36 PM
  3. Mysql update: 0 rows Select: 1 row ?
    By Cyclefreak in forum MySQL Help
    Replies: 2
    Last Post: January 3rd, 2004, 11:06 AM
  4. Replies: 23
    Last Post: January 2nd, 2004, 10:28 AM
  5. how to update multiple rows??
    By mx400 in forum PHP Development
    Replies: 5
    Last Post: December 26th, 2003, 02:13 AM

IMN logo majestic logo threadwatch logo seochat tools logo