Return to Snippet

Revision: 3485
at July 31, 2007 02:42 by andrewbowley


Initial Code
<cfquery datasource="turpinsshoutbox" username="root">
    INSERT INTO comment(poster, email, msg)
    VALUES ('#Form.poster#', '#Form.email#', '#Form.msg#')
</cfquery>
<cflocation url="shoutbox.cfm" addToken="No">

Initial URL

                                

Initial Description

                                

Initial Title
Inserting from a form into a database

Initial Tags
form, database, query

Initial Language
ColdFusion