Okey the biggest problem i am having is with it saving the data...
This is the line that i am suppecting that is screwing up because when i make Categories like Starring , it saves , however i also want it to be like Studio. Basically i want a set of 5 dropdown boxes in which it pulls the data from the Categories table. That all works fine, it isnt just saving the enteries when i do "edit" or "New product"
this is the lines of code
** <tr bgcolor="#ebebff">
<td class="main" valign="top"><?php echo TEXT_DVD_CATEGORY; ?></td>
<td class="main">
<!-- table 1 -->
<table cellspacing=0 cellpadding=0><tr><td>
<?php echo zen_draw_separator('pixel_trans.gif', '24', '15') . ''; ?>
</td>
<td>
<!-- table 2 -->
<table cellspacing=0 cellpaddin=0>
<?php
$num_categories = 5;
echo "<input type=hidden name=num_categories value='{$num_categories}'>";
for($i=1; $i <= $num_categories; $i++){
$c_category_name = $pInfo->{'category_name'.$i};
echo "<tr class='smallText'><td>";
echo "<input type=hidden name=category_order{$i} value='{$i}'>";
echo zen_draw_separator('pixel_trans.gif', '24', '15') . '' . zen_draw_pull_down_menu('category_name{$i}', $categories_array, $pInfo->category_id);
echo "</td></tr>\n";
}//end of for loop
?>
</tr></td></table>
<!-- end of table 2 -->
</td>
</tr>
</table>
<!-- end of table 1 -->
</td>
</tr>
**
I suppect it is this line
echo zen_draw_separator('pixel_trans.gif', '24', '15') . '' . zen_draw_pull_down_menu('category_name{$i}', $categories_array, $pInfo->category_id);
because when i make it the same as the Starring line (what books called ""Authors" it works. However they are no dropdown boxes , they are text boxes..
here is the line for Starring (authors)
echo "<input type=text name=starring_name{$i} value='{$c_starring_name}'>";
Help please......