[PHP] Display strings with single quotes

2003-02-20 Thread Rea_David
Hi all, Have simple but annoying issue, I want to display a string within an input field. This string contains ' so when it's being display the, anything after the ' is being left out. Here is the code I'm using: $string = str_replace(', '', $string); $string =

Re: [PHP] Display strings with single quotes

2003-02-20 Thread Tom Rogers
Hi, Thursday, February 20, 2003, 9:34:03 PM, you wrote: Rec Hi all, Rec Have simple but annoying issue, I want to display a string within an Rec input field. This string contains ' so when it's being display the, Rec anything after the ' is being left out. Here is the code I'm using:

Re: [PHP] Display strings with single quotes

2003-02-20 Thread Ernest E Vogelsinger
At 13:16 20.02.2003, Tom Rogers said: [snip] Rec Have simple but annoying issue, I want to display a string within an Rec input field. This string contains ' so when it's being display the, Rec anything after the ' is being left out. Here is the

Re: [PHP] Display strings with single quotes

2003-02-20 Thread Jason Wong
On Thursday 20 February 2003 20:26, Ernest E Vogelsinger wrote: At 13:16 20.02.2003, Tom Rogers said: [snip] Rec Have simple but annoying issue, I want to display a string within an Rec input field. This string contains ' so when it's being

Re: [PHP] Display strings with single quotes

2003-02-20 Thread 1LT John W. Holmes
On Thursday 20 February 2003 20:26, Ernest E Vogelsinger wrote: At 13:16 20.02.2003, Tom Rogers said: [snip] Rec Have simple but annoying issue, I want to display a string within an Rec input field. This string contains ' so when it's

RE: [PHP] Display strings with single quotes

2003-02-20 Thread Rea_David
Thanks everyone! -Original Message- From: 1LT John W. Holmes [mailto:[EMAIL PROTECTED]] Sent: 20 February 2003 13:40 To: [EMAIL PROTECTED] Subject: Re: [PHP] Display strings with single quotes On Thursday 20 February 2003 20:26, Ernest E Vogelsinger wrote: At 13:16 20.02.2003, Tom

Re: [PHP] Display strings with single quotes

2003-02-20 Thread Tom Rogers
Hi, Thursday, February 20, 2003, 9:34:03 PM, you wrote: Rec Hi all, Rec Have simple but annoying issue, I want to display a string within an Rec input field. This string contains ' so when it's being display the, Rec anything after the ' is being left out. Here is the code I'm using:

Re: [PHP] Display strings with single quotes

2003-02-20 Thread Ernest E Vogelsinger
At 13:41 20.02.2003, Jason Wong spoke out and said: [snip] On Thursday 20 February 2003 20:26, Ernest E Vogelsinger wrote: htmlentities won't work with single quotes, use addslashes: Actually just (only) htmlentities() will do. See manual for options

Re: [PHP] Display strings with single quotes

2003-02-20 Thread 1LT John W. Holmes
Thursday, February 20, 2003, 9:34:03 PM, you wrote: Rec Hi all, Rec Have simple but annoying issue, I want to display a string within an Rec input field. This string contains ' so when it's being display the, Rec anything after the ' is being left out. Here is the code I'm using: