i have a loop that outputs ul li items. in it i have an image with an anchor tag. inside the href for each of those, i want to be able to reference "this" particular number
PHP Code:<?php
$nCount = 0;
while ($nCount<=$num){
echo "<li>";
echo "<a href='product.php?";
>>>>>>>echo this $nCount <<<<<<<<????
echo "'><img src='assets/main_small/";
echo $aL[$nCount];
echo"_";
echo $row0['productID'];
echo".jpg";
echo "' width='' height='' /></a>";
echo "</li>\n";
$nCount++;
}
?>



Reply With Quote

Bookmarks