...

View Full Version : How to make forms fields thru database?



pashah72
01-21-2005, 11:32 AM
Hello

I am making a form which has field like text field, drop down menu, radio buttons, etc. & fields should be filled up with data. can forms fields directly come from database?And after coming from database, form fields should also be filled up with data. For. e.g. all the items in drop down menu should come from database rather than manually filling it?

Looking forward for an early reply.

Thanks
:confused:

firepages
01-21-2005, 03:20 PM
the database usually just supplies the data , the data is normally then formatted by a serverside language though some databases have built in scripting languages for this , even simpler systems like MySQL can be tickled into creating markup.

however you still need a server-side language to fetch and display the data from the DB.

pashah72
01-22-2005, 06:15 AM
I am using java technology(jsp,servlets) & backend oracle.

I came to know that thru custom tag or struts something can work out but I like to know that also form field(radio buttons, text fields,etc.) come from database because till now I have made tables in database by giving sql command, for e.g.

create table abc(empno number(5), empname char (15));

I have not written any form fields(radio buttons, text fields,etc.) in table so how to bring them. Till now I was making form fields with the help of HTML tags. :confused:



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum