Re: Re: Delete Confirmation
| From: | Daniel Negron/KBE | Date: | Thu, 21 Mar 2002 04:19:56 +0000 |
| Subject: | Re: Re: Delete Confirmation | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-89455@lists.php.net to get a copy of this message | ||
Actually I have that working fine. I was just looking to add to the code a
confirmation box of some sort. either typing in YES or clicking a YES NO
BOX.
Thanks for your post.
**DAN**
Matt Wallace
<phpnews@ender To: php-general@lists.php.net
.com> cc:
Subject: [PHP] Re: Delete Confirmation
03/20/2002
11:03 AM
Daniel Negron/Kbe wrote:
> Does anyone have examples of record deletions from php to mysql
Could you be more specific?
$sql = "DELETE from tablename where tablename_idx = $index";
$result = mysql_query($sql);
would be a very simple example of deleting a record from a hypothetical
database with php, but I'm not sure if that's what you were really asking.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php