I have quite a few forms to put together for my contacts and to do database.
I would like to know the best way for dealing with the forms so that the names and form fields can be updated through one config.
For example I may have named one field first name and want to change the text to say name. By doing this through one file I dont mess up the design.
What the best of doing this.
Should I declare a variable for each field and label like this
$form_text_name ="name";
$form_text_field="<input type=text name=name>";
I then use an include file and call these using an echo tag for example
echo $form_text_name echo $form_text_field;
or could I use a define tag? Or any other suggestions