title: Not Able to use ORDER by RAND() LIMIT 4 after users.user_id=".$_SESSION['user_id']
body: <p>I am not able to use </p>
  
  <pre><code>order by rand() limit 5
  </code></pre>
  
  <p>after </p>
  
  <pre><code>['user_id']
  </code></pre>
  
  <p>Is there any way to do that, please help.</p>
  
  <pre><code>$sqlstate = "select * from questions, users where users.category_id=questions.category_id and users.user_id=".$_SESSION['user_id'] order by rand() limit 5;
  </code></pre>