$mysqli->query(file_get_contents("../data/etc/dump.txt")) or die($mysqli->error);
Dump in pretty large and impossible to read, but I know it's valid because I tried it in phpMyAdmin. It contains stuff like creating tables and inserting stuff into those tables, but I'm getting an error. The error is on the line right after my first query.
tl;dr multiple queries in one works in phpMyAdmin but not through mysqli. Any way around it without having to break each query up?