Click to See Complete Forum and Search --> : Generate html forms from database on the fly


klipkop
05-15-2007, 03:53 AM
Hi

I need just a direction on the following:

How do you create html files on the fly (dynamically) where the name attribute of the input boxes are fetch from a database table

e.g. <td class="per"><input value="1" name="|1961" type="radio">0</td>

The 1961 is a field in the questioned table. There are about 200 of these input buttons per survey and the input value and name is different

Apart from the above the rest of the html code should also be included

It’s a survey tool that must send html forms as an attachment to preloaded email addresses.

What is the standard and best way to do this?

nshiell
05-15-2007, 10:36 AM
If i where you i wuold host the questionaire on a hosting site that way you can use PHP/ASP, and email out links to it, I had to do an online questionaire and that was how i did it

ray326
05-15-2007, 01:03 PM
Is 1961 is a field or is it a value in a field?