Thanks! Dave Lyons [EMAIL PROTECTED] www.DreamLofts.com www.DreamLofts-WebDesigns.com
-----Original Message----- From: Candace Cottrell [mailto:[EMAIL PROTECTED]] Sent: Friday, December 13, 2002 10:50 AM To: CF-Talk Subject: Re: help a newbie with code pleazz On your action page, you can eliminate the need to press another form button. <cfif IsDefined("form.register")> <cfif #form.promo# is "beans"> <cfquery name="InsertSubscriber"> Insert Into TABLE Values (INSERT YOUR SQL CODE HERE) </cfquery> You have a free year's membership! <cfelse> <cfquery name="InsertSubscriber"> Insert Into TABLE Values (INSERT YOUR SQL CODE HERE) </cfquery> Thank you for joining </cfif> Candace K. Cottrell, Web Developer The Children's Medical Center One Children's Plaza Dayton, OH 45404 937-641-4293 http://www.childrensdayton.org [EMAIL PROTECTED] >>> [EMAIL PROTECTED] 12/11/2002 3:17:25 PM >>> <cfif IsDefined("form.register")> <cfif #form.promo# is "beans"> <cfoutput> you have a free years membership!</cfoutput> <!--- then have them click a form button to enter the free code into the db----> <cfform> blah blah blah</cfform> </cfif> </cfif> <cfelse> <cfif NOT IsDefined("form.register")> <cfif #form.promo# is ""> <cfoutput> Thank you for joining, click here to continue </cfoutput> <!---------- then have them click a form button to enter the MEMBER code into the db----> <cfform> blah blah blah </cfform> I have no idea lol, pleazzzzzzzzzzzzzzzzzzzzzzzzz help me or shoot me:) thanks! dave Dave Lyons [EMAIL PROTECTED] www.DreamLofts.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com

