This my solution for now.. but I didn't know how to dispaly it in a combo box or in the table
<html>
<body>
<table border=2 cellspacing=2 cellpadding=2 align="center">
<tr>
<td>Choose a book</td>
<td>
<select name="books">
<?php
$books=array( HD=> array( 'bkid'=>'100',
'bktitle'=>'Computer Hardware',
'bkprice'=>'12.250',
'discount'=>'0.10'),
OS=> array( 'bkid'=>'200',
'bktitle'=>'Operating System',
'bkprice'=>'25.5',
'discount'=>'0.15'),
PS=> array( 'bkid'=>'300',
'bktitle'=>'Photoshop',
'bkprice'=>'8.3',
'discount'=>'0.20'));
//From here It's probalby wrong
foreach($books as $key => $value){
$value[bkid]." - ".$value[bktitle]." -OR ".$value[bkprice]." - ".$value[discount]."<br>";
echo "<option></option>"; // I don;t know what to do here
}
?>
</select>
</td>
</tr>
</body>
</html>