This is obviously not a variable. PHP loves $. You need to add $ to the variable. You need to assign a value to this variable. For example, $user_id = $_SESSION['USER_ID'].
I suggest you watch some introductory video tutorials. With some source code courseware, the improvement will be even greater: http://www.sucaihuo.com/video/143-0-0
You don’t send out the error message. You only have to guess when writing half of the code. What is USER_ID? Did you write it wrong? It's a variable and you didn't add $. Judging from your login, it should be a session, right? To write $_SESSION['USER_ID'];
What is the error message?
This is obviously not a variable. PHP loves $. You need to add $ to the variable. You need to assign a value to this variable. For example, $user_id = $_SESSION['USER_ID'].
I suggest you watch some introductory video tutorials. With some source code courseware, the improvement will be even greater: http://www.sucaihuo.com/video/143-0-0
You don’t send out the error message. You only have to guess when writing half of the code. What is USER_ID? Did you write it wrong? It's a variable and you didn't add $. Judging from your login, it should be a session, right? To write $_SESSION['USER_ID'];