--- rudy <r937 at interlog.com> wrote: > > I don't follow how its 0 or 1! > > 0 or some other number, 0 being the one you're interested in > > > Especially since there can be multiple rows of that id... > > well, that's what the COUNT(*) sql function does -- it counts rows aahhhhsooo! So I can do: if(num > 0) ok to delete. Thanks! Tom ===== var me = tom.pixelmech.webDeveloper(); http://www.pixelmech.com/ http://www.maccaws.com/ [Making A Commercial Case for Adopting Web Standards] __________________________________________________ Do you Yahoo!? Yahoo! Web Hosting - Let the expert host your site http://webhosting.yahoo.com