Separating Arrays As Variables-PHP -


How can I use the second array as a separate array? For example, a link.

My current code is:

  $ result = $ query-> Product ('1149632') - & gt; Show (array ('name', 'image', 'sale price', 'url', 'skin')) - & gt; Query (); Print & lt; & Lt; & Lt; This & lt; Div & gt; $ Result & lt; / Div & gt; this;   

thanks

if that $ query () Method calls an array, so you can do something like this:

  foreach ($ result as $ val) {echo "gtc: div> $ val & Lt; / div & gt; n "; }    

Comments