/    Sign up×
Community /Pin to ProfileBookmark

extracting information from databases

Is javascript a good language to use when it comes to accessing information from a databse (a simple txt file say) and then presenting it onto a page?

not necessarily relevant info on context:
———————————–

What I’m trying to do is set a list of contacts into a text file. On the page i would ideally like a simple drop-down menu of all the entries of the first field of the database. And then at the click of a button i want the other fields to be printed onto the screen at a certain point.

i’m new to javascript (and have only learnt a [i]tiny[/i] bit of JAVA before)…and i’m teaching myself too. But having said that…i’m confident that i can do everything i want in the above…except for accessing the database. I could do it using java, but don’t really want to be creating an applet – i’m trying to keep it small(ish). And if applets are needed, there’s better ones out there than the ones i would write.
———————————–

cheers
Al

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@Khalid_AliSep 13.2003 — No,JavaScript is does not have the capability to read/write onto and from a file on the disk.

Once its read and you want to make changes at run time,thats where JavaScript can be really handy.
×

Success!

Help @theuberpuppy 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 5.17,
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: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

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

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...