Write to a database

How do you get a hyperlink to switch webpages and write to a field in a database when pressed?
Yogi012398Asked:
Who is Participating?
 
slokConnect With a Mentor Commented:
You will need cgi to handle this.

You can pass your field value along in your hyperlink to the cgi
eg
<a href="http://www.example.com/example.html?fieldname=fieldvalue">link</a>

And in your cgi you will have some SQL statement like this :
insert into tablename (fieldname) values fieldvalue
or
update tablename set fieldname = fieldvalue where certain condition

Perhaps you can give more info about the cgi programs you are using.

0
 
Technocrat062397Commented:
Cold Fusion.

Get it. Use IT Love. IT.


GIve more details in what you are trying to do.
0
 
slokCommented:
I agree, I develope with Cold Fusion as well.
Plain easy, tags like, high level programming stuffs.
Much easier than ASP as well.

cheers
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.