That was my point with the libraries, There are libraries available for
most languages (I think Perl has one) with methods that will take an
arbitrary input string, and return the same string HTML escaped.
Something like this (obviously non-Perl) example should be available:
String HTMLString = escapeStringForHTML(SQLString);
That provides a solution you can use anytime you need to output complex
strings in HTML, not just this one time.
==Joseph++
Craig White wrote:
>On Mon, 2005-03-21 at 22:27 -0700, Joseph Sinclair wrote:
>
>
> <<SNIP>>
>
>----
>got that - my problem is my 'string' already exists and is built and is
>used in the source php file. To use your html example (and thanks for
>the effort), I would have to rebuild the string for a second time to
>pass it through - I was specifically trying to avoid that. In fact, if I
>were to rebuild the string a second time, it would make more sense from
>a number of standpoints to send the string and the variable through the
>POST into the target php file and rebuild it there.
>
>Craig
>
>---------------------------------------------------
>PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
>To subscribe, unsubscribe, or to change you mail settings:
>http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
>
>
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss