Re: [PHP-DB] delete multiple entries from a database using PHP

2001-09-26 Thread Andreas D. Landmark

At 26.09.2001 17:16, Markus Bertheau wrote:
>[EMAIL PROTECTED] wrote:
>
>>how can I delete multiple entries from a database using PHP . I need to make
>
>sth like delete from table where attribute = something
>
>deletes all rows where attribute is something.

or the glorious "DELETE FROM "
(tip: do not try that on useful information ;-)



-- 
Andreas D Landmark / noXtension
Real Time, adj.:
 Here and now, as opposed to fake time, which only occurs there
and then.


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP-DB] delete multiple entries from a database using PHP

2001-09-26 Thread Rick Emery

It depends upon the criteria you set for the delete (but you've already
investigated that).

What is the REAL problem?  What are you trying to delete?

What does table look like and by which criteria are you deleting?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 26, 2001 10:52 AM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] delete multiple entries from a database using PHP


how can I delete multiple entries from a database using PHP . I need to make
a webbased admin tool for a program I'm doing which must have insert, edit,
update and delete facilities I have done all the others except the delete
part. i can do it one by one but its time consuming so I was looking for a
better way.. Help anyone

--
Nirat
--
--




-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DB] delete multiple entries from a database using PHP

2001-09-26 Thread Markus Bertheau

[EMAIL PROTECTED] wrote:

> how can I delete multiple entries from a database using PHP . I need to make

sth like delete from table where attribute = something

deletes all rows where attribute is something.


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]