Skip to main content
Inspiring
September 13, 2006
Question

Using cfform to interact with databases

  • September 13, 2006
  • 2 replies
  • 405 views
hi there, I am just trying to get ito using the cfform tag, and I thought it would be as easy to do insert into table ect using server behaviours, but clearly not! could somebody point me the right direction of some good tutorials please, to show me how to do all the wonderful interaction with Databases that I have been able to do with normal dreamweaver html forms...

Many thanks
    This topic has been closed for replies.

    2 replies

    Inspiring
    September 18, 2006
    If you can interact with a database using dreamweaver html, you should be teaching us.

    Visit easycfm.com for tutorials.
    Inspiring
    September 17, 2006
    I have found that <cfform> is a bit of a pain. I prefer using the standard <form>
    and writing the SQL myself. Much cleaner!
    <cfquery ...
    INSERT INTO t_someTable
    (column1, column2)
    VALUES
    '#trim(form.field1)#',
    '#trim(form.field2)#',
    </cfquery>