dennismonsewicz Posted October 16, 2008 Share Posted October 16, 2008 Is there a way to retrieve data from the affected row? Like if i wanted to retrieve the row id? Link to comment https://forums.phpfreaks.com/topic/128760-mysql_affected_rows-help/ Share on other sites More sharing options...
prexep Posted October 16, 2008 Share Posted October 16, 2008 Yes, look into the Mysql_query functions. http://us.php.net/manual/en/function.mysql-query.php Link to comment https://forums.phpfreaks.com/topic/128760-mysql_affected_rows-help/#findComment-667382 Share on other sites More sharing options...
Barand Posted October 16, 2008 Share Posted October 16, 2008 Define "affected row". If it's the one you have just deleted the answer is no, unless you did DELETE FROM table WHERE id = $id in which case echo $id. Link to comment https://forums.phpfreaks.com/topic/128760-mysql_affected_rows-help/#findComment-667589 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.