Hi all,
I have a form which is updated by several users.
I have a textarea element which I would like to use to compare the update made by each user and then populate a html table which highlights the changes.
It appears the updateFormData function cannot handle html tags:
I get the following error; 0 syntax error, unexpected '<', expecting ';'
Ive ran tests omitting html tags and that worked.
Any ideas?
Thanks in advance
I have a form which is updated by several users.
I have a textarea element which I would like to use to compare the update made by each user and then populate a html table which highlights the changes.
It appears the updateFormData function cannot handle html tags:
Code:
$string_history = "<table>
<tr>
<td>".$diff['old']."</td>
<td>".$diff['new']."</td>
</tr>
</table>";
$formModel->updateFormData('tablename_history', $string_history, true);
I get the following error; 0 syntax error, unexpected '<', expecting ';'
Ive ran tests omitting html tags and that worked.
Any ideas?
Thanks in advance