Please Help: Following is the code from one of my pages. There are 3 buttons: 1. Add To My Collection 2. Export Selected 3. Print Selected. The export and the print both work correctly. When I click "add to my collection" I get "page not found" error. I must be missing a line that connects the button to moving the selected items to the correct location. But, I anything but a programmer and I do not have a clue what it could be. Thanks, Janice
<!-- controls table -->
<TR>
<TD class=body2 width="100%" colSpan=2 height=1></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0
disptype="controltable1">
<TBODY>
<TR>
<TD class=body3 style="PADDING-RIGHT: 10px; PADDING-TOP: 12px"
align=right colSpan=3 height=40>{if $display_grid}
<SPAN name="record_controls">
{if $allow_export} <SPAN class=buttonborder><INPUT class=button onclick="var c=0; if(frmAdmin.elements['selection[]'].length==undefined && frmAdmin.elements['selection[]'].checked) c=1; else for (i=0;i<frmAdmin.elements['selection[]'].length;++i) if (frmAdmin.elements['selection[]'][i].checked) c=1; if(c==0) return true; frmAdmin.action='actiontoys_events.php';frmAdmin.target='_blank';frmAdmin.submit(); frmAdmin.action='actiontoys_list.php'; frmAdmin.target='_self';" type=button value="Add To My Collection" disptype="control1"></SPAN>
{/if} {if $allow_export} <SPAN class=buttonborder><INPUT class=button onclick="var c=0; if(frmAdmin.elements['selection[]'].length==undefined && frmAdmin.elements['selection[]'].checked) c=1; else for (i=0;i<frmAdmin.elements['selection[]'].length;++i) if (frmAdmin.elements['selection[]'][i].checked) c=1; if(c==0) return true; frmAdmin.action='actiontoys_export.php';frmAdmin.target='_blank';frmAdmin.submit(); frmAdmin.action='actiontoys_list.php'; frmAdmin.target='_self';" type=button value="Export selected" disptype="control1"></SPAN>
{/if} {if $allow_export} <SPAN class=buttonborder><INPUT class=button onclick="var c=0;if(frmAdmin.elements['selection[]'].length==undefined && frmAdmin.elements['selection[]'].checked) c=1; else for (i=0;i<frmAdmin.elements['selection[]'].length;++i) if (frmAdmin.elements['selection[]'][i].checked) c=1; if(c==0) return true; frmAdmin.action='actiontoys_print.php';frmAdmin.target='_blank';frmAdmin.submit(); frmAdmin.action='actiontoys_list.php'; frmAdmin.target='_self';" type=button value="Print selected" disptype="control1"></SPAN>
{/if} </SPAN>{/if}</TD></TR>
<TR>
<TD class=navigat_left width=5 height=15> </TD>
<TD class=navigat width="100%"> </TD>
<TD class=navigat_right width=5> </TD></TR></TBODY></TABLE><!-- end controls table -->