Well I am back again I cant seem to get that to work with the refresh and all, and I am having problems with the fact of deleteing one item out of the bin, and modify an ad that is in the cart. I find it is dificult to do when I am inserting images as well, becuase they are being put into a folder on the server, so if i do allow them to change the image, the old on will still be left on the server.
___________________________________________________________________________
Here are the 3 pages I have so far.
PAGE1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<cfset today = #now()# + 1>
<cfset Todays_Date = #dateformat(today, "mm/dd/yyyy"

#>
<cfquery name="get_Communities" datasource="Market">
SELECT *
FROM Communities
order by location
</cfquery>
<cfquery name="get_SubCategories" datasource="Market">
SELECT Category, categoryid, subcategory, subcategoryid
FROM subandcat
</cfquery>
<cfinclude template="../Templates/Header_&_Sidebar_for_Place_Ad_Folder_Subcat_Select.cfm">
<td width="600" rowspan="2" valign="top" bgcolor="#FFFFFF">
<cfform action="Ad_Placement_Step2.cfm" method="post" name="myform" enctype="multipart/form-data">
<cfoutput><input type="hidden" name="submitID" value="#createUUID()#"></cfoutput>
<input type="hidden" value="#form.select_Ad_Subcategory#" name="subcategoryid">
<input type="hidden" value="#categoryids" name="CategoryID">
<table align="center" border="0">
<tr>
<td colspan="5" class="FormHeaders"><div align="center"><font size="4" face="Georgia, Times New Roman, Times, serif"><!--- <cfoutput>#categories.Category#</cfoutput> --->
Details</font></div></td>
</tr>
<tr bgcolor="#EDECE0"><td><font face="Georgia, Times New Roman, Times, serif">Category:</font></td>
<td valign="top" colspan="4">
<select name="select_Ad_Subcategory" onchange="whichLocal(this.form)" size="1">
<option>- Select Category-</option>
<!--- again, use the group attribute to group output by category --->
<cfoutput query="get_SubCategories" group="Category">
<option value="#Categoryid#">#Category#</option>
</cfoutput>
</select></td></tr>
<tr><td><font face="Georgia, Times New Roman, Times, serif">Subcategory:</font></td>
<td colspan="4"> <select name="selectLocal" onChange="whichLocal(this.form)" size="1">
<option>- Select SubCategory -</option>
<option></option>
<option></option>
<option></option>
<option></option>
<option></option>
<option></option>
</select></td>
</tr>
<tr bgcolor="#EDECE0">
<td><font face="Georgia, Times New Roman, Times, serif">Community:</font></td>
<td colspan="4"><font face="Georgia, Times New Roman, Times, serif">
<select name="Community_List">
<option></option>
<cfoutput query="Get_Communities">
<option value="#location#">#location#</option>
</cfoutput>
</select>
</font></td>
</tr>
<tr>
<td width="109" ><font face="Georgia, Times New Roman, Times, serif">Item
Name:</font></td>
<td colspan="4"> <font face="Georgia, Times New Roman, Times, serif">
<CFinput name="Itemname" type="text" required="no" message="Item Name Required">
</font></td>
</tr>
<tr bgcolor="#EDECE0">
<td valign="top" ><font face="Georgia, Times New Roman, Times, serif">Short
Description:</font></td>
<td colspan="4">
<textarea name="Short_description" cols="30" rows="5" wrap="hard" onChange="if (this.value.length > 100) {alert('The Short Description Cannot Be Greater Than 100 Chars.')};">Text entered here will be entered in the listings page</textarea>
</td>
</tr>
<tr>
<td valign="top" ><font face="Georgia, Times New Roman, Times, serif">Long
Description:</font></td>
<td colspan="4"><textarea name="Long_description" cols="30" rows="5">Text entered here will show up on your details page</textarea>
</td>
</tr>
<tr bgcolor="#EDECE0">
<td><font face="Georgia, Times New Roman, Times, serif">Asking
Price:</font></td>
<td colspan="4"><CFinput name="itemprice" value="" type="text" id="itemprice" required="no" message="Asking Price Required" size="20" maxlength="9">
</td>
</tr>
<tr>
<td valign="top"><font face="Georgia, Times New Roman, Times, serif"><span >Featured
Item</span><font color="#FF0000">*</font></font></td>
<td colspan="4"> <CFinput name="featured" type="radio" id="featured" value="1" checked="yes">
<font size="-2" face="Georgia, Times New Roman, Times, serif">Yes</font> </td>
<tr><td> </td><td colspan="4"><CFinput name="featured" type="radio" id="featured" value="0">
<font size="-2" face="Georgia, Times New Roman, Times, serif">No</font> </td></tr>
</tr>
<tr bgcolor="#EDECE0">
<td><font face="Georgia, Times New Roman, Times, serif">Start
Date Of Ad:</font></td>
<td colspan="4"><cfinput name="begindate" type="text" validate="date" value="#Todays_Date#">
</td>
</tr>
<tr>
<td valign="top"><font face="Georgia, Times New Roman, Times, serif">Length
Of Ad:</font></td>
<td><CFinput name="Enddate" type="radio" value="7" checked="yes"></td>
<td><font face="Georgia, Times New Roman, Times, serif">7
Days</font></td>
<tr bgcolor="#EDECE0">
<td><font face="Georgia, Times New Roman, Times, serif"> </font></td>
<td><CFinput name="Enddate" type="radio" value="30"></td>
<td><font face="Georgia, Times New Roman, Times, serif">30 Days
</font></td>
</tr></table>
<table align="center">
<tr><td colspan="5"><BR><BR><div align="center"><strong>Up to 4 pictures
can be submited with your ad</strong></div></td>
</tr>
<tr>
<td><strong>1:</strong></td>
<td colspan="4"><INPUT type="file" name="file_patha"></td>
</tr>
<tr>
<td><strong>2:</strong></td>
<td colspan="4"><INPUT type="file" name="file_pathb"></td>
</tr>
<tr>
<td><strong>3:</strong></td>
<td colspan="4"><INPUT type="file" name="file_pathc"></td>
</tr>
<tr>
<td><strong>4:</strong></td>
<td colspan="4"><INPUT type="file" name="file_pathd"></td>
</tr></tr>
<tr bgcolor="#FFFFFF">
<td colspan="5"><div align="center">
<input type="submit" value="Continue >>" name="submit_upload">
</div></td>
</tr>
</table>
</cfform>
<tr>
<td background="../images/top_space2.gif"><img src="../images/top_space2.gif"></td>
</tr>
</table>
</td></tr>
</table>
</body>
</html>
PAGE2
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<CFQUERY NAME="vendorInfo" DATASOURCE="market">
select *
from vendors
where vendorid = #SESSION.Auth.vendorID#
</cfquery>
<cfset session.strtempitem = structnew()>
<cfif file_patha NEQ "">
<CFFILE action="UPLOAD" nameconflict="makeunique" filefield="file_patha" accept="image/*" destination="C:\Inetpub\
<CFSET session.strtempitem.picturea = GetFileFromPath(cffile.serverfile)></cfif>
<cfif file_pathb NEQ "">
<CFFILE action="UPLOAD" nameconflict="makeunique" filefield="file_pathb" accept="image/*" destination="C:\Inetpub\
<CFSET session.strtempitem.pictureb = GetFileFromPath(cffile.serverfile)></cfif>
<cfif file_pathc NEQ "">
<CFFILE action="UPLOAD" nameconflict="makeunique" filefield="file_pathc" accept="image/*" destination="C:\Inetpub\
<CFSET session.strtempitem.picturec = GetFileFromPath(cffile.serverfile)></cfif>
<cfif file_pathd NEQ "">
<CFFILE action="UPLOAD" nameconflict="makeunique" filefield="file_pathd" accept="image/*" destination="C:\Inetpub\
<CFSET session.strtempitem.pictured = GetFileFromPath(cffile.serverfile)></cfif>
<cfset session.strtempitem.categoryid = #form.select_Ad_Subcategory#>
<cfset session.strtempitem.subcategoryid = #form.selectLocal#>
<cfset session.strtempitem.location = #form.community_list#>
<cfset session.strtempitem.itemname = #form.Itemname#>
<cfset session.strtempitem.shortdescription = #form.short_description#>
<cfset session.strtempitem.longdescription = #form.long_description#>
<cfset session.strtempitem.itemprice = #form.itemprice#>
<cfset session.strtempitem.featured = #form.featured#>
<cfset session.strtempitem.begindate = #dateformat(form.begindate, "mm/dd/yyyy"

#>
<cfset session.strtempitem.Enddate = #dateformat(form.begindate + form.Enddate, "mm/dd/yyyy"

#>
<cfparam name="form.selectlocal" default="">
<cfset test = #form.selectlocal#>
<cfif #test# EQ "" or #test# EQ "- Select SubCategory -">
<cflocation url="Ad_Placement.cfm?id=1">
</cfif>
<cfinclude template="../Templates/Header_&_Sidebar_for_Place_Ad_Folder.cfm">
<td width="605" rowspan="2" valign="top" bgcolor="#FFFFFF">
<table border="0"><tr><td colspan="2" class="LongDesc"><div align="center"> <div align="center"><a href="Ad_Placement_Step3.cfm">Add
To Cart</a></div></td></tr>
<tr><td colspan="2"><HR><BR><BR></td></tr>
<tr>
<td valign="bottom"><cfoutput>
<div align="left"><font face="Georgia, Times New Roman, Times, serif">Information
On </font><font size="4" face="Georgia, Times New Roman, Times, serif">#session.strtempitem.Itemname# and #session.strtempitem.subcategoryid# and #session.strtempitem.categoryid#</font></div>
</cfoutput></td>
</tr>
<tr>
<td>
<tr>
<td><table border="0">
<tr>
<cfif file_patha NEQ "">
<td width="106">
<img src="../sale_item_Images/<cfoutput>#session.strtempitem.picturea#</cfoutput>" alt="Click on picture to enlarge" width="100" height="70" border="0">
</td>
</cfif>
<cfif file_pathb NEQ "">
<td width="106">
<img alt="Click on picture to enlarge" src="../sale_item_Images/<cfoutput>#session.strtempitem.pictureb#</cfoutput>" width="100" height="70" border="0">
</td>
</cfif>
<cfif file_pathc NEQ "">
<td width="106">
<img alt="Click on picture to enlarge" src="../sale_item_Images/<cfoutput>#session.strtempitem.picturec#</cfoutput>"width="100" height="70" border="0">
</td>
</cfif>
<cfif file_pathd NEQ "">
<td width="106">
<img alt="Click on picture to enlarge" src="../sale_item_Images/<cfoutput>#session.strtempitem.pictured#</cfoutput>" width="100" height="70" border="0" >
</td>
</cfif>
</tr>
</table></td>
</tr>
<tr>
<td > <table>
<tr>
<td width="269" bgcolor="#339900"><strong><font size="3" face="Georgia, Times New Roman, Times, serif">Price</font></strong></td>
<td width="310" bgcolor="#339900" colspan="4"><div align="center"><font size="3" face="Georgia, Times New Roman, Times, serif"><strong>Location</strong></font></div></td>
</tr>
<cfoutput>
<tr>
<td class="FormText"><strong>#Dollarformat(session.strtempitem.itemPrice)#</strong></td>
<td colspan="4"> <div align="center">#session.strtempitem.Location#</div></td>
</tr>
</cfoutput></table></td>
</tr>
<tr>
<td><table>
<tr><cfoutput>
<td width="361" bgcolor="EDECE0" class="LongDesc">#session.strtempitem.longdescription#</td>
</cfoutput> <cfoutput query="vendorInfo">
<td width="212"><div align="center">
<p class="LongDesc">For more information, contact:<br>
<strong><a href="mailto:#email#">#email#</a></strong></p>
</div></td>
</cfoutput></tr>
</table></td>
</tr>
<tr>
<td colspan="2"><BR><BR><HR></td>
</tr>
<tr>
<td colspan="2" class="LongDesc"><div align="center"><a href="Ad_Placement_Step3.cfm">Add
To Cart</a></div></td>
</tr>
</table>
</tr>
<tr>
<td background="../images/top_space2.gif"><img src="../images/top_space2.gif"></td>
</tr>
</table>
</td></tr>
</table>
</body>
</html>
PAGE3
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<cflock timeout="30"
throwontimeout="no"
type="exclusive" scope="session">
<cfif not isdefined ("session.auth2"

or not isarray(session.auth2)>
<cfset session.auth2 = arraynew(1)>
</cfif>
<cfset arrayappend(session.auth2,session.strtempitem)>
</cflock>
<cfinclude template="../Templates/Header_&_Sidebar_for_Place_Ad_Folder.cfm">
<td width="600" rowspan="2" valign="top" bgcolor="#FFFFFF">
<table border="0" align="center">
<tr>
<td colspan="5"><font color="#669933" size="4" face="Georgia, Times New Roman, Times, serif">My
Shopping Cart</font><img src="../Images/cart.gif">
<hr></td>
<tr>
<td colspan="5"><strong><font size="2">Please note: Every ad,
including pictures, will be reviewed for ethical content upon
activation. Any ads found to contain unethical content will
be deleted without a refund.</font></strong></td>
</tr>
<form action="Payment Inforamtion" method="post">
<tr>
<td colspan="5"><BR>
<BR> <div align="center">
<input type="submit" value="Pay For Listings">
</div></td>
</tr>
</form>
<tr>
<td width="154"></td>
<td width="69"><div align="center">Item Listed</div></td>
<td width="91"><div align="center">Asking Price</div></td>
<td width="91"><div align="center">Listing Fee</div></td>
<td width="163"></td>
</tr><cfset arylocalcart = arraynew(1)>
<cflock timeout="30"
throwontimeout="no"
type="readonly"
scope="session"><cfset arylocalcart = session.auth2>
</cflock>
<cfloop from="1" to="#arraylen(arylocalcart)#" index="whichad">
<cfoutput><tr>
<td width="154"></td>
<td width="69"><div align="center"><font size="2" face="Georgia, Times New Roman, Times, serif">#arylocalcart[whichad].itemname#</font></div></td>
<td width="91"><div align="center"><font size="2" face="Georgia, Times New Roman, Times, serif">#dollarformat(arylocalcart[whichad].itemprice)#</font></div></td>
<td width="91"><div align="center"><font size="2" face="Georgia, Times New Roman, Times, serif">$30.00</font></div></td>
<td><a href="Modify_Ad.cfm"><font size="2" face="Georgia, Times New Roman, Times, serif">[Modify]</font></a> <a href="Delete_Ad.cfm"><font size="2" face="Georgia, Times New Roman, Times, serif">[Delete]</font></a></td>
<td width="163"></td>
</tr></cfoutput></cfloop><tr><td colspan="5"><hr></td></tr>
<tr><cfset subtotal = #arraylen(arylocalcart)# * 30>
<cfset taxes = #subtotal# * 0.177>
<cfset total = #subtotal# + #taxes#>
<td></td><td></td><td><BR><BR><div align="right"><font size="2" face="Georgia, Times New Roman, Times, serif">Total
Listing Fee:</font></div></td>
<td valign="bottom"><font size="2" face="Georgia, Times New Roman, Times, serif"><cfoutput>#dollarformat(subtotal)#</cfoutput></font></td>
<td></td>
</tr>
<tr>
<td></td><td></td><td><div align="right"><font size="2" face="Georgia, Times New Roman, Times, serif">Applicable Tax:</font></div></td>
<td><font size="2" face="Georgia, Times New Roman, Times, serif"><cfoutput>#dollarformat(taxes)#</cfoutput></font></td>
<td></td>
</tr>
<tr>
<td></td><td></td><td><div align="right"><font size="2" face="Georgia, Times New Roman, Times, serif">Total
:</font></div></td><td><font size="2" face="Georgia, Times New Roman, Times, serif"><cfoutput>#dollarformat(Total)#</cfoutput></font></td><td></td>
</tr>
</table>
</tr>
<tr>
<td background="../images/top_space2.gif"><img src="../images/top_space2.gif"></td>
</tr>
</table>
</td></tr>
</table>
</body>
</html>