SupeSite info: MySQL Query Error

User: guest
Time: 2015-7-8 10:08am
Script: /index.php

SQL: SELECT * FROM [Table]spaceitems WHERE itemid='505139'
Error: No database selected
Errno.: 1046