RE: [PHP] " in data

2004-06-21 Thread Chris W. Parker
Curt Zirzow on Friday, June 18, 2004 10:38 PM said: > s/should/will s/s\/should\/will/s\/should\/will\// :P -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] " in data

2004-06-18 Thread Curt Zirzow
* Thus wrote Chris W. Parker: > > $data = htmlentities($data); > > // should work > echo ""; s/should/will Curt -- First, let me assure you that this is not one of those shady pyramid schemes you've been hearing about. No, sir. Our model is the trapezoid! -- PHP General

RE: [PHP] " in data

2004-06-18 Thread Chris W. Parker
Robert Sossomon on Friday, June 18, 2004 12:30 PM said: > My code for extraction: >$item_desc = addslashes($Quote['sel_item_desc']); you don't need to addslahes() when retrieving. just htmlentities() the data before you display it. do a simple test: ";

RE: [PHP] " in data

2004-06-18 Thread Robert Sossomon
document: value="10in. COMP.PLATE " CONCORDE " 4/125" Robert -Original Message- From: Jay Blanchard [mailto:[EMAIL PROTECTED] Sent: Friday, June 18, 2004 2:58 PM To: Robert Sossomon; [EMAIL PROTECTED] Subject: RE: [PHP] " in data [snip] I guess I need to fi

RE: [PHP] " in data

2004-06-18 Thread Jay Blanchard
[snip] I guess I need to figure out how to read my $_POST[data] and parse that to put in " because that seems to work, but not sure how to make PHP do that. [/snip] INSERT INTO table htmlentities($_POST['yourStuff']); then when it comes out you should be good -- PHP General Mailing List (http://

RE: [PHP] " in data

2004-06-18 Thread Robert Sossomon
ut how to read my $_POST[data] and parse that to put in " because that seems to work, but not sure how to make PHP do that. Any thoughts? Robert -Original Message- From: Torsten Roehr [mailto:[EMAIL PROTECTED] Sent: Friday, June 18, 2004 1:40 PM To: [EMAIL PROTECTED] Subject: Re: [P

RE: [PHP] " in data

2004-06-18 Thread Kelly Hallman
Jun 18 at 12:29pm, Jay Blanchard wrote: > [snip] > I have data with "something" in it and when I pull that data and dump it > into an HTML form I am losing everything that is after the first " . > Has anyone encountered this before, and have a way to patch it? > [/snip] > > Yes, we have all encoun

Re: [PHP] " in data

2004-06-18 Thread Torsten Roehr
>"Jay Blanchard" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >[snip] >I have data with "something" in it and when I pull that data and dump it >into an HTML form I am losing everything that is after the first " . >Has anyone encountered this before, and have a way to patch it? >[/sn

RE: [PHP] " in data

2004-06-18 Thread Chris W. Parker
Robert Sossomon on Friday, June 18, 2004 10:27 AM said: > I have data with "something" in it and when I pull that data and dump > it into an HTML form I am losing everything that is after the first " > . Has anyone encountered this before, and have a way to patch it?

RE: [PHP] " in data

2004-06-18 Thread Jay Blanchard
[snip] I have data with "something" in it and when I pull that data and dump it into an HTML form I am losing everything that is after the first " . Has anyone encountered this before, and have a way to patch it? [/snip] Yes, we have all encountered it. You need to escape the " character and other