[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HTML tag syntax in errors




You could put the error string through a HTMLifier.  Replace all the '<'
and '>' characters with '&gt;' and '&lt;' and '\n' with '<br>'.  Or you
could surround the entire error string with a <pre> </pre> tag I think.

(I hope this message comes through okay on HTML email clients).

Toby.

Tim Pizey wrote:
> 
> Hi Tobias,
> 
> your error messages contain a list of expected keywords eg
> Was expecting one of:
>     <QUOTED_VARIABLE> ...
>     <IDENTIFIER> ...
>     <COLUMN> ...
> These are seen as unrecognised tags by an HTML browser and so are not
> displayed.
> yours
> timp

---------------------------------------------------------------
Mckoi SQL Database mailing list  http://www.mckoi.com/database/
To unsubscribe, send a message to mckoidb-unsubscribe@mckoi.com