A Database Error Occurred

Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY RAND() LIMIT 6' at line 7

SELECT kmt_item.* FROM (`kmt_item`) WHERE `TrangThai` = 1 AND `idIT` != '41' AND `idMN_1` IS NULL AND `idMN_2` != ORDER BY RAND() LIMIT 6

Filename: /home/www/ngukimthanhphongcom/wwwngukimthanhphong/models/get_model.php

Line Number: 97