The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

MySQL question by Nawft2002-07-23 00:04:48
  Its not an error. by aix tom 2002-07-23 00:16:07
trying to delete something that doesn't exist does not create an error in any SQL-flavor I know.

If you really HAVE to check if the record really did exist you could do a

$number_rows=$temp_dbh->selectrow_array("select count(*) from banners where banner_id = BlaBla");

before you delete it.

[ Reply ]
    Thank you very much by Nawft2002-07-23 00:19:11
      When you think about it, it *is* successful... by fore_deck2002-07-23 01:18:18
        Thats smart :) by caffine-iv2002-07-23 01:22:48

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)