RE: [PHP] POSTing HTML into a database

2002-01-08 Thread Ford, Mike [LSS]
> -Original Message- > From: James Arthur [mailto:[EMAIL PROTECTED]] > Sent: 07 January 2002 21:41 > For example, consider the string $body = "I am saying \"Hello\""; > > > is interpreted by the browser as > > And so we have a problem. > > What can I do about that? Since this is

Re: [PHP] POSTing HTML into a database

2002-01-07 Thread James Arthur
On Monday 07 January 2002 01:59, Richard S. Crawford wrote: > I've used a combination of addslashes() and stripslashes() along with > htmlspecialchars() to perform just that sort of thing, though I used MySQL > instead of PostreSQL. I've got it sorted so that when the user enters the HTML data in

Re: [PHP] POSTing HTML into a database

2002-01-07 Thread James Arthur
On Monday 07 January 2002 01:59, Richard S. Crawford wrote: > I've used a combination of addslashes() and stripslashes() along with > htmlspecialchars() to perform just that sort of thing, though I used MySQL > instead of PostreSQL. Can you help me along a bit further? I can't seem to get them in

Re: [PHP] POSTing HTML into a database

2002-01-06 Thread Adam Baratz
> Does anyone know, by the way, if there's a port of PostreSQL to Windows > 2000? Or can I run it in Cygwin? I've seen it in the package list for Cygwin, there may be a full port as well, check Postgres' web site. -Adam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail

Re: [PHP] POSTing HTML into a database

2002-01-06 Thread Richard S. Crawford
I've used a combination of addslashes() and stripslashes() along with htmlspecialchars() to perform just that sort of thing, though I used MySQL instead of PostreSQL. Does anyone know, by the way, if there's a port of PostreSQL to Windows 2000? Or can I run it in Cygwin? At 03:45 PM 1/6/200