PDO truncates my SQL string in Prepared Statement, tries to bind parameter number 0?
问题 Okay, so I've spent a couple days trolling google and finding absolutely nothing on this. Basically I'm using a prepared statement that has a couple joins and matches based on several LIKEs, an IN, and a FREETEXT. I'm building the query dynamically to support the IN condition. I think some code will help public function searchForProjWithTags(Array $dSearchArgs, $dTags) { $bSplitTags = preg_split ("/[,]/", $dTags); $bCount = count($bSplitTags); $bQuestionMarks = "?" . str_repeat (",?", $bCount