By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,743 Members | 1,803 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,743 IT Pros & Developers. It's quick & easy.

"I'm" Getting Truncated To: I - Why?

P: n/a
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...

Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
I noticed that Message-ID: <ri********************************@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/
Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.