Ok, I have posted in the validation section regarding the spam issue but i am still uncertain regarding the way to use Dreamweaver to correctly filter the where clause. I think i understand that by using intval that only values that are passed that are integers will be accepted and i can see that this would be better than a page accepting any string (such as sql code), is there a better way to pass or declare the variable $testid so that i can still have a dynamic page that is fairly secure? If this is an elementary question, plz forgive me, not lookin for a handout, really just looking for a nudge in the right direction :). thanks again-