Hi,

I am new to CF. i am stuck in the middle.
We have backend as MySql and I am trying to add new member to the daabase using this query:

<cfquery name="add" datasource="newmember">
INSERT INTO members
(name,email)
VALUES ('#name#','#email#')
</cfquery>

When I preview this first page and click on submit button, it takes me to this page, but instead of adding to the database it displays the query in the browser as it is.

Please can anyone help me...

Sangeeta
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to