Hi Bertho Joris,
When you execute $db->query($query_create_table);
You must call $db->getError();
Some like this:
$db->query($query_create_table);
echo $db->getError();
Doing this you can see the error in your query or restriction on database.
If you have more problems contact me:
[email protected]