RE: [PHP] Re: Delete Confirmation

2002-03-22 Thread Boaz Yahav

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:[EMAIL PROTECTED]]
Sent: Thursday, March 21, 2002 6:20 AM
To: [EMAIL PROTECTED]
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

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


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Re: Delete Confirmation

2002-03-20 Thread Daniel Negron/KBE


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   
 
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