Database Error

데이터베이스 에러가 발생했습니다.

You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ORDER BY notifications.no DESC' at line 3
query : SELECT notifications.* ,products.name as product_name ,inquiry.means FROM notifications LEFT JOIN inquiry ON notifications.inquiry_no = inquiry.no LEFT JOIN products ON inquiry.product_no = products.no WHERE notifications.user_no= ORDER BY notifications.no DESC

다이아박사

알림

    PHP 에러가 발생했습니다.

    타입:
    Warning

    메세지:
    Invalid argument supplied for foreach()

    발생위치:
    /home/drdia/controllers/notification.php (line : 29)