SupeSite info: MySQL Query Error

User: guest
Time: 2021-9-25 6:18am
Script: /study/index.php

SQL: SELECT * FROM [Table]categories WHERE catid='24'
Error: No database selected
Errno.: 1046