how to use array_push() : <p>I want to push new data in array which each value of them.</p>

<pre><code>$array = array("menu1" =&gt; "101", "menu2" =&gt; "201"); 
array_push($array, "menu3" =&gt; "301");
</code></pre>

<p>But I got an error syntax.</p>

<p>And if I use like this :</p>

<pre><code>$array = array("menu1" =&gt; "101", "menu2" =&gt; "201"); 
array_push($array, "menu3", "301");

result is : Array ( [menu1]=&gt;101  [menu2]=&gt;201   [0]=&gt;menu3  [1]=&gt;301 )

My hope the result is : Array ( [menu1]=&gt;101  [menu2]=&gt;201   [menu3]=&gt;301 )
</code></pre>

<p>I want push new [menu3]=>'301' but I dont know how. Please help me, the answer will be appreciate</p>
