I want to retain the value of the input fields after submit. Normally when I want to do so, I add this code:
value="<?php echo($formData['row'][0][0]); ?>"
but since I already have a php tag open when creating the rows, I cannot add another php tag in the value attribute. I’ve tried removing the php and echo statements, but still get an error.
One other question,
The variable formdata is the array that holds the information from the form when submit is clicked. When the form is first shown on the screen, $formData array is empty, so now I get an undefined index error. I’ve tried putting $formData[‘row’] = array(); at the top of the page, but still get an error.
Options?