I am getting: Parse error: parse error, expecting ','' or‘;” in … Error in the code below.
I have tried changing it but cannot spot what it is.
Can anyone spot this?
echo '<p><a href="#" onclick="Cart.add('name=".$name."','price=".$price."','image=".$image."');return false;">add</a></p>';
Not even with the SO text highlighting?