title: Adding new values to start of an array in PHP
body: <p>I tried with array_push(), but I get fatal error.</p>
  
  <pre><code>function get_data($table, $id = '', $condition){
  
     if($id != '')
       array_push( " WHERE `id` = '".$id."' ", $condition );
  
     ...
  }
  </code></pre>
  
  <p>The question is, how to add a value (in my case a string) to the start of an array?</p>