php: Implement table prefix for queries that work :)