When executing a query with IN(#)
$eventsconsidered = '"student_reserved", "student_paid", "tutor_accepted"'';
$eventlogs = qa_db_read_all_assoc(
qa_db_query_sub('SELECT datetime, userid, eventid, eventname, params
FROM `^booking_log`
WHERE eventid = #
AND eventname IN(#)
;', $eventid, $eventsconsidered)
);
it does not work.
When putting the string directly instead of the "#" it works.
What do I have to pass then?