Close the cfquery, perhaps?  Unless that was just a cut and paste issue...

--Jeff

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

Sangeeta Karmokar wrote:

> Hi,
>
> I am new to CF. we have backend as MySql and I am trying to inser into
> a database created in SQL using this query:
>
> <cfquery name="add" datasource="newmembers">
> INSERT INTO members
> (name,email)
> VALUES ('#name#','#email#')
>
> But it is not adding to the database, the submit is just going to the
> query page and we can see all these codes in browsers...
>
> I really need help...
>
> Sangeeta
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to