Menu
Dears,
i am trying this code but unable to fetch picture. can any body help::
$q=db_query(“SELECT categoryID,name,picture from ss_categories where parent=’5′”);
while($row=db_fetch_row($q)){
echo “<br>”;
echo $row[0]; // id
echo “<br>”;
echo $row[1]; // name
echo “<img src=”sscriptproducts_pictures=.”$row[2].”” >”;//picture
}
picture is not retrieved here, how can i retrieve picture, i think there is problem in picture source.