function draw_quote_items_form($p_catids)
{
//foreach ($p_catids as $catids )
//{
//$catids .= "'','" . $catids . "'";
$catids = "2"; //,13,14,18";
//}
$items = get_items($catids);
?>
<form method=post action="insert_quote_item.php">
<table border="1" width="800" >
<tr>
<td><b>Brand</b> </td>
<td><b>Model</b> </td>
<td><b>Price</b> </td>
<td><b>Description</b> </td>
<td><b>Quantity</b> </td>
</tr>
<?
foreach ($items as $item)
{
$isbn = $item["isbn"];
?>
<tr>
<td><input disabled type=text name=author value="<? echo $item["author"] ?>"></td>
<td><input disabled type=text name=title value="<? echo $item["title"]?>"></td>
<td><input type=text name=price value="<? echo $item["price"]?>"></td>
<td><input disabled type=text name=description value="<? echo $item["description"]?>"></td>
<td><input type=text name=quantity value=""></td>
<td><input type=checkbox name=sv_flag ></td>
</tr>
<?
/
$a_items[quoteid] = $quoteid;
$a_items[isbn] = $item["isbn"];
$a_items[price] = $item["price"];
$a_items[quantity] = $quantity ;
/
}
?>
</table>
<input name=items type=submit value="Add items to Quote">
</form>
<?
}