SELECT * FROM attachments WHERE aid = '313254'
MySQL Query Error