Thanks weedpacket,
Any ideas how i get $referstuff to contain all the details that i want to show then?
Bit lost here now
I've tried this but it brings up the last one to show only
$referstuff = "<br>People who buy this often buy $referProductName1 $referProductName</a>";
}}}}
$review = preg_replace("/%mitch%/",$referstuff,$review);
If I could just show more than one referred product for a product to start off with. And then I need to look at showing all referred products for all products in the basket.
When i echo like this, all the referred products come on as they should but not where %mitch% is:
$referstuff = "<br>People who buy this often buy $referProductName1 $referProductName</a>";
echo "$referstuff";
}}}}
$review = preg_replace("/%mitch%/",$referstuff,$review);