html entry within XML "database"
| From: | William S. | Date: | Sat, 13 Jul 2002 12:36:32 +0000 |
| Subject: | html entry within XML "database" | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-107513@lists.php.net to get a copy of this message | ||
I am experimenting with using an XML file as a
database. One of the things I do is provide
a way of adding records to the database by an
html form.
This seems to work out well so far unless one
of the fields in a record contains an html
reference. The result is a Sablotron parse error.
What is the best way around this? Should I
validate the form before it is submitted so that
html references are rejected? How would I do this?
--
Bill
Amsterdam, NL