Jump to content

list menu with images


techker

Recommended Posts

this is what i tryed up to now.

 

<?

$query = "SELECT * FROM clients_graph";
$result = mysql_query($query)or die(mysql_error());

print "<SELECT name=\"client\">";
while ($line = mysql_fetch_array($result)) {
echo "<option value=\"$line[id]\">$line[2]</option>";

}
//print  "</select>";


echo "<img src='/Account/PICS/". $line['2'] ."' border='0'  hight=120/>";
print  "</select>";
?>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.