I am trying to make what I thought would be minor modifications to a php form. I have the following:
$table->data[$i][] = '<input type="text" name="acronym['.$st->id.']" size="2" maxlength="2" value="'.$st->acronym.'" />';
I want to make it so the text field is not editable to the end user. I still need it to be submitted as part of the form, but I'd like just a plain static field, not an editable text box.
I did this and it gives me what I want on the screen but nothing gets submitted when I submit the form, so I get an error. How can I get this and still submit the value with the form?
$table->data[$i][] = $st->acronym;
Any help would be appreciated.