Skip to main content
nurcanb61753314
Inspiring
Sep 16, 2019 2:41 PM UTC
Question

what is wrong?

ıam making a alittle project.ı had a sql database and tables.but ı need some information too.

Iam writting code .ıts not workıng.ıs ıt true or?

<cfquery name="ADD_BUDGET" datasource="#dsn#">
INSERT INTO
KAYITYEN
(
AD,
SOYAD
)
VALUES
(
<cfqueryparam cfsqltype="cf_sql_varchar" value="#attributes.AD#">,
<cfqueryparam cfsqltype="cf_sql_varchar" value="#attributes.SOYAD#">
)

</cfquery>

    This topic is closed to new replies. Start a new post to keep the conversation going.

    2 replies

    WolfShade
    Legend
    Sep 16, 2019 3:14 PM UTC

    How are you setting the attribute values?  Are you sure it shouldn't be arguments.AD, arguments.SOYAD?  Or perhaps form.AD, form.SOYAD?

     

    V/r,

     

    ^ _ ^

    Translate
    nurcanb61753314
    Inspiring
    Sep 16, 2019 3:19 PM UTC
    okay ı wıll try now.
    Translate