Hi all,
I'm trying to populate a text box from a database.
It works fine, with the exception of one problem:
If I have quatation marks in the data, it truncates at that point.
echo "<INPUT TYPE=\"text\" NAME=\"$frmFieldName\" size=$Size value=\"$CurrValInDB\">";
If I do a simpel echo of "$CurrValInDB", I get the value the way
it should be. (assume the example is: " Some"thing ".
How can I fix this problem?
I've tried addslashes, stripslashes, but to no avail.
Thanks,
-Alon.