MySQL Forums
Forum List  »  PHP

Re: How do you dynamically add additional variables to a PDO SQL query?
Posted by: Peter Brawley
Date: November 20, 2019 11:38AM

> we want to alter that so it is "Where town = 'london'" (don't care about age).

> How do you build "$querypublish" to cater for that.

We seem not to be communicating. Again, you need (i) a generalised query string editor or QBE interface for turning users' wishes into sql, and (ii) as described, a module that can detect and process params whose values will be determined at runtime.

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.