how to call a function multiple times with where clause in php pdo?
问题 I am new to php and trying hard to learn its why you guys and gals need to Forgive me for asking a lot! Here is my question; I am trying to call a function with where clause multiple times, I have read allmost all posts and examples still didn't understand how to do it. I tought that An example will be more useful than any blurb I can write. Here is the function I am trying to create and use it multiple times : function getTable($tableName, $clause) { $stmt = $pdo->prepare("SELECT * FROM ".