> It's fairly simple: at the top of your script, have a block of code
similar
> to the following, and have the link point to
> --
> $_SERVER['PHP_SELF']."?rm_id=".$id_to_be_deleted
> --
> I'll
> leave out all but the essential elements.
>
> <code>
> <?php
> if (isset($_GET['rm_id']))
> {
> $query = "REMOVE FROM whatever WHERE id = ".$_GET['rm_id']." LIMIT 1";
> mysql_query($query);
> }
> ?>
> </code>
>
> Will Collins


Hi Will,
Thanks for replying.

Yes, I know how to delete rows/products etc from the database, cookies etc,
the only think I was confused about was that I didnt get the "blank pause"
as I clicked on the item to be removed, it was immediate...Curt pointed out
its probably coz I am on a fast line (10mbs) and that the page is using good
cacheing....others on the list kind enough to try it out reported that its
giving the "blank pause" when they accessed it via Linux using these
browsers Netscape 7, Opera 7.2 and so on....

Cheers,
-Ryan

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

Reply via email to