/    Sign up×
Community /Pin to ProfileBookmark

Passing Text to Database

I’m not a programmer, but I’m trying to make this work. I’m working with code in an .hta file that will produce three checkboxes:

[INDENT]x Name
x Phone
x Address[/INDENT]

If the user clicks any checkbox, a corresponding text box will appear, allowing them to type a value.

I’d like to be able to take the values the user enters in the text box and pass all three values (if applicable) into a single memo field in an Oracle database. Preferrably via an ODBC connection because this program will be run as part of a database-driven application that uses an ODBC db connection.

So, how do I create the connection to the db? And how do I specify the data and make sure it’s entered into the existing record that the user is working on right now.

** Also, how can I post my code without it appearing as text in the post? I’ve noticed other posts with “code” boxes, but I don’t know how to create them **

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@BigMoosieApr 08.2005 — answer to **part**: put:

[ code ] **(without the spaces)

code goes here

[ /code ] **(without the spaces
×

Success!

Help @dstinsman spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...