Computing.Net > Forums > Web Development > php mysql

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

php mysql

Reply to Message Icon

Name: osaru
Date: August 5, 2004 at 18:33:54 Pacific
OS: win
CPU/Ram: 512M
Comment:

Is there any function that returns the id of the last updated row in PHP/mysql similar to insert_id()?



Sponsored Link
Ads by Google

Response Number 1
Name: Khalid
Date: August 8, 2004 at 01:50:59 Pacific
Reply:

There isnt. Since you update a row, it already exists. You probably update a row using SELECT, so therefor you can use SELECT to determine the ID(s) of the row(s) you are altering.


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: php mysql

How do I setup PHP & MySQL on XP www.computing.net/answers/webdevel/how-do-i-setup-php-amp-mysql-on-xp/122.html

PHP, MySQL, phpMyAdmin www.computing.net/answers/webdevel/php-mysql-phpmyadmin/1590.html

php/mysql database www.computing.net/answers/webdevel/phpmysql-database/2542.html