Ryan Mitchell wrote:
>
> <cfquery name="log" connection info here>
> INSERT INTO Log
> (Action, On, StaffUser)
> VALUES ('#description#', #now()#, '#getstaff.name#')
> </cfquery>
>
> Updates work fine, as do selects etc, but why isnt this (or any other)
> insert working?!
Use cfqueryparam.
Jochem
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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
This list and all House of Fusion resources hosted by CFHosting.com. The place for
dependable ColdFusion Hosting.
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4