Menu
Final question / issue with this.
I don’t believe this is possible but I’ll throw it out there.
I have an array of ID’s being submitted by a user. Is it possible to do sometihng like
[code]
WHERE `studentId` IN(:IDS)
Where IDS = implode(“,”, $_POST[students’]);
From testing it binds it into the query as a string which only matches against the first value.
If nothing is possible. Given I need to do this against several fields. It is better to retrieve ALL records from my database and do PHP filtration. However I may have over 7,000 rows in my database shortly.