RE: [PHP] Can I get back a deleted row from mysql?
| From: | Scott Hurring | Date: | Thu, 06 Jun 2002 19:15:35 +0000 |
| Subject: | RE: [PHP] Can I get back a deleted row from mysql? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-101008@lists.php.net to get a copy of this message | ||
Nope.
For future reference, perhaps create two identical tables,
one for actual live data and one for trash, and instead of
deleting anything, just move it all into the trash table.
then, you can purge the trash table every few days/months.
---
Scott Hurring
Systems Programmer
EAC Corporation
ScottH@eac.com
Voice: 201-462-2149
Fax: 201-288-1515
> -----Original Message-----
> From: Jan Grafström [mailto:jan@grafstrom.net]
> Sent: Thursday, June 06, 2002 3:11 PM
> To: php-general@lists.php.net
> Subject: [PHP] Can I get back a deleted row from mysql?
>
>
> Hi,
> I wonder if you can get back or view the deleted data in a
> delted row in
> mysql?
>
> "DELETE FROM $table WHERE id=$id"
>
> I used the above code to delete.
> Thanks for any help.
> --
> Regards,
> Jan Grafström
> Sweden
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>