title: scalar value as an array? PHP array
body: <p>I'm getting this error:</p>
  
  <pre><code>'( ! ) Warning: Cannot use a scalar value as an array in C:\xampp\htdocs\or2LAST\admin\adminData.php on line 5`
  </code></pre>
  
  <p>the code for this error (line 5):</p>
  
  <pre><code>$admin['push']=array(
          1=&gt;"yes",
          2=&gt;"no"
  
  );
  </code></pre>
  
  <p>i tried to use "1" &amp; "2" for the key but it didn't solve the problem.</p>
  
  <p>where is the problem and why this error occurred?</p>