title: Storing all POST data in SESSION
body: <p>I have more values (over 20) from $_POST like this...</p>
  
  <pre><code>$name = $_POST['name'];
  $username = $_POST['username'];
  $city = $_POST['city'];
  $mobile = $_POST['mobile'];
  $address = $_POST['address'];
  </code></pre>
  
  <p>NOTE : I have prevented there values from SQL injection. </p>
  
  <p>My question is can I know is there a way to store all these POST values in SESSION at once? 
  Instead of this method..</p>
  
  <p><code>$_SESSION['name'] = $name;</code> etc</p>
  
  <p>any answers will be highly appreciated. 
  Thank you.</p>