Removing certain elements of array not working
<p>i have this array, and all i want it to do is cycle through and just remove certain elements that appear in the if, however whenever i output the array it always just shows</p>

<pre><code>array(0) { }
</code></pre>

<p>instead of </p>

<pre><code>["addon_h_id"]=&gt; string(1) "1"
</code></pre>

<p>Here is the code which cycles through it, if i remove this code then the array displays as normal</p>

<pre><code>        foreach ($new_shopping_array as $columnName =&gt; $columnData) {
                          if($columnName == "s_list_id" || "user_id"){
                              unset($new_shopping_array[$columnName]);  
                          }        
                      }
</code></pre>

<p>Thanks for any and all help</p>
