Include original query in result

For example I would like to parse the link to extract ID

Here parse results makes you create a new array for the result.

Using
$p1.products.format('$query,$id,$link\n')

Does not show id from products2 array, this is what I dont know how to do, $p1.products2.format('$id') is what I would like to include in results for each
line too.

Hope I explained ok

Thanks
 
If the sizes of product1 and product2 are always the same, then you can loop through one of the arrays (using the template engine) and output data from both arrays using a variable from the loop.
Example:
49wp0_190218151802.png


If the sizes of arrays are different, then how should the data contained in them correspond?
 
Back
Top