So I'm using DBI to query a database and populate a webpage using CGI. Now I have a form with fields, some mandatory, others optional. In my code I use place holders because I read that's the safe way to do things.
Can I still use place holders but dynamically create a query adding to the 'where' clause based on parameters send via CGI?
That is to say, I'll need to detect which fields have been submitted.
Thanks