<cfquery datasource="#REQUEST.dataSource#">
INSERT INTO topics(areas)
VALUES(<cfqueryparam value="#FORM.topics#" cfsqltype="cf_sql_varchar">)
</cfquery>


>>-----Original Message-----
>>From: John Barrett [mailto:[email protected]]
>>Sent: 22 June 2011 00:29
>>To: cf-newbie
>>Subject: Re: write single enrty
>>
>>
>>
>>I have this for the form
>><form action="topic_action.cfm" method="Post">
>><tr>
>><td>&nbsp;</td>
>><td><input type="text" id="topics" size="25"></td>
>></tr>
>>
>><tr>
>><td>&nbsp;</td>
>><td><input type="Submit" value="update Information"></td>
>></tr>
>></form>
>>
>>
>>
>>
>>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:5320
Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-newbie/unsubscribe.cfm

Reply via email to