This is a discussion on "I'm" Getting Truncated To: I - Why? within the PHP Language forums, part of the PHP Programming Forums category; I have a form where the user can enter text - I noticed that if I enter a sentence like: That ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I have a form where the user can enter text - I noticed that if I
enter a sentence like: That is what I'm thinking that when I save that string into a php global session variable, when I use that same variable in the next form the string is: That is what I The ' is being truncated - does anyone know what might be causing this? I've checked the var and nothing else is touching it between forms... Thanks... |
|
|||
|
I noticed that Message-ID: <ri1novs2fsefassnrij3qcgflhegiq80pv@4ax.com>
from Ralph Freshour contained the following: >The ' is being truncated - does anyone know what might be causing >this? > >I've checked the var and nothing else is touching it between forms... Use addslashes() -- Geoff Berrow It's only Usenet, no one dies. My opinions, not the committee's, mine. Simple RFDs http://www.ckdog.co.uk/rfdmaker/ |