Skip to main content
nurcanb61753314
Inspiring
September 16, 2019
Question

what is wrong?

  • September 16, 2019
  • 1 reply
  • 296 views

ı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 has been closed for replies.

    1 reply

    WolfShade
    Legend
    September 16, 2019

    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,

     

    ^ _ ^

    nurcanb61753314
    Inspiring
    September 16, 2019
    okay ı wıll try now.