I am creating a multiple drop down list using AJAX and within the result I wish to place a link to a page where more details can be viewed on a product.
I have a feeling I do not have the quotes in correctly but have tried different ways around and still haven't had any joy.
Code: Select all
if($col==$ar_cols[$last_key]) $re_html .= '<br/>'. $row[$col] echo "<a href=productinfo.php?id=".$row['ProductID'].">View more Details</a>";
The problem is from the echo onwards..
Any help would be appreciated or if more code needs posting up.
Thank you in advance