RE: [PHP] Re: Delete Confirmation
| From: | Boaz Yahav | Date: | Fri, 22 Mar 2002 20:54:25 +0000 |
| Subject: | RE: [PHP] Re: Delete Confirmation | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-89752@lists.php.net to get a copy of this message | ||
Do that with JavaScript....
Using JavaScript to show an OK/Cancel confirmation window
http://www.weberdev.com/index.php3?GoTo=get_example.php3?count=1364
Sincerely
berber
Visit http://www.weberdev.com Today!!!
To see where PHP might take you tomorrow.
-----Original Message-----
From: Daniel Negron/KBE [mailto:danegron@kbelectronics.net]
Sent: Thursday, March 21, 2002 6:20 AM
To: php-general@lists.php.net
Subject: Re: [PHP] Re: Delete Confirmation
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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php