Get ID of deleted items

This is a discussion on Get ID of deleted items within the PHP Language forums, part of the PHP Programming Forums category; Hi there, I wonder if there is anything similar to "mysql_insert_id();" for deleted/updated id's? If i ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-21-2005
phpfrizzle
 
Posts: n/a
Default Get ID of deleted items

Hi there,

I wonder if there is anything similar to "mysql_insert_id();"
for deleted/updated id's?

If i do a query and DELETE WHERE text_field="",
can i get the id's of the fields that were deleted???

Thanks.
Reply With Quote
  #2 (permalink)  
Old 01-21-2005
CJ Llewellyn
 
Posts: n/a
Default Re: Get ID of deleted items

"phpfrizzle" <phpfrizzle@hotmail.com> wrote in message
news:18cde9b5.0501211141.1119e767@posting.google.c om...
> Hi there,
>
> I wonder if there is anything similar to "mysql_insert_id();"
> for deleted/updated id's?
>
> If i do a query and DELETE WHERE text_field="",
> can i get the id's of the fields that were deleted???


No.

Select the rows first.



Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 10:30 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0