In the CREATE queries, 'brilliant_gallery_checklist' is not enclosed in curly brackets.

The $success variable is misspelled at line 63.