I have a huge form of more than 130 fields (textfields, textareas, checkboxes etc), I have this form in HTML format, I mean its a simple .html page. What I want is, for each field I want to set its value to value="<?=$row['textfieldname'];?>"
Let's take the following textfield as an example:
<input type="text" name="gender" id="gender" />
I want to change it to"
<input type="text name="gender" id="gender" value="<?=$row['gender'];?>" />
I would really appreciate if you can advice an easy way to achieve this.
PS: I've heard it can be done using Dreamweaver's regular expressions, anybody have this idea?
Many Thanks in advancee