in reply to database selecting then validating

And the question is ...?

Also, see Bobby Tables and imagine someone enters

0 ; drop table users ; --
as his/her empid.

Replies are listed 'Best First'.
Re^2: database selecting then validating
by BluGeni (Novice) on May 24, 2012 at 19:36 UTC
    how do i implement an if statement to run my code if this checks out?