zakirdavis
asked on
Emailing Contents of An Already Processed Form
I've developed a webpage that displays the contents of my database. The user has 4 different views to look at, (View 1, View 2, View 3 and View All). In each of these views the user can select some rows, add the rows to a cart and continue browsing.
I know how to get what the user selected , but i don't know how to get what they selected, store their selection, allow them to continue surfing, store more rows, and then finally email the administrator their selections.
This is what i don't know how to do:
1. I do not know how to allow users to Sort Columns by clicking a Column Header.
2. I do not know how to allow user to select rows (via checkbox) and send the selections to a cart (structure i am assuming), continue browsing and add more items to cart.
3. I do not know how to have all the pages display how many items they have the the cart.
4. I do not know how to have user view cart and delete selections.
5. I do not know how to have user email their selections over to an email address that is stored in the same database (different table).
6. I do not know how to send html email to administrator.
I know how to get what the user selected , but i don't know how to get what they selected, store their selection, allow them to continue surfing, store more rows, and then finally email the administrator their selections.
This is what i don't know how to do:
1. I do not know how to allow users to Sort Columns by clicking a Column Header.
2. I do not know how to allow user to select rows (via checkbox) and send the selections to a cart (structure i am assuming), continue browsing and add more items to cart.
3. I do not know how to have all the pages display how many items they have the the cart.
4. I do not know how to have user view cart and delete selections.
5. I do not know how to have user email their selections over to an email address that is stored in the same database (different table).
6. I do not know how to send html email to administrator.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
oh i am late :-)
Regards
Hart
Regards
Hart
oh i am late :-)
Regards
Hart
Regards
Hart
Thnx :-)
ASKER
Thank you. it helped quite a bit. Can you check out my new question?
sorry i coudn't reply earlier, i was out of station...
see u have the #FORM.PROPID# defined in your page [before sending the mail]
<TR>
<TD COLSPAN="2"><DIV ALIGN="CENTER">
<P> </P><TABLE WIDTH="35%" BORDER="0" CELLSPACING="0" CELLPADDING="0">
<TR VALIGN="BOTTOM">
<TD WIDTH="50%"> <DIV ALIGN="CENTER">
<INPUT NAME="Send" TYPE="submit" ID="Send" VALUE="Send">
</DIV></TD>
<TD WIDTH="50%"> <DIV ALIGN="CENTER">
<INPUT TYPE="RESET" NAME="Submit2" VALUE="Reset">
</DIV></TD>
</TR>
</TABLE>
</DIV></TD>
</TR>
</TABLE>
</DIV>
<input type="hidden" name="PROPID" value="<cfoutput>#FORM.PRO PID#</cfou tput>"> <!--- note this line of code --->
</TD>
</TR>
</CFFORM>
</TABLE>
This is how us pass the propid in an hidden field to send mail page
Regards
Hart
see u have the #FORM.PROPID# defined in your page [before sending the mail]
<TR>
<TD COLSPAN="2"><DIV ALIGN="CENTER">
<P> </P><TABLE WIDTH="35%" BORDER="0" CELLSPACING="0" CELLPADDING="0">
<TR VALIGN="BOTTOM">
<TD WIDTH="50%"> <DIV ALIGN="CENTER">
<INPUT NAME="Send" TYPE="submit" ID="Send" VALUE="Send">
</DIV></TD>
<TD WIDTH="50%"> <DIV ALIGN="CENTER">
<INPUT TYPE="RESET" NAME="Submit2" VALUE="Reset">
</DIV></TD>
</TR>
</TABLE>
</DIV></TD>
</TR>
</TABLE>
</DIV>
<input type="hidden" name="PROPID" value="<cfoutput>#FORM.PRO
</TD>
</TR>
</CFFORM>
</TABLE>
This is how us pass the propid in an hidden field to send mail page
Regards
Hart
<cfmail to="#Email#" from="me@this.com" subject="message from me" type="HTML">
<Table>
<TR BGCOLOR="#bgcolor#">
<TD><DIV ALIGN="CENTER"><FONT SIZE="-1">
<CFIF column1 IS "">
<B><FONT color=red>n/a</FONT></B>
<CFELSE>
#column1#
</CFIF>
</FONT></DIV>
</TD>
</tr>
</TABLE>
</cfmail>
But make sure you also submit the sellection in a hiiden field or something
Mause