How do I create a mysql prepared statement ‘string’ without actually connecting to MySQL. I want to utilize PDO’s bindparam to generate a ‘mysql string’.
I just need the mysql string. I don’t want to do inline variables on the mysql string because it’s messy and hard to maintain.
If this can’t be done. Do you know any (PHP) string builder library that build a MySQL string?
Does PDOStatement->debugDumpParams give you some help?