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? Quote Link to comment 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 Quote Link to comment 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.