You can of course use htmlspecialcharacters (check php manual if you don't know what this is) and then it will kill every thing that generates errors.
"William S." <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php