|
|
| Author |
Message |
dhc
Joined: 15 Jul 2004 Posts: 1
|
Posted: Thu Jul 15, 2004 3:57 am Post subject: \ Characters preceding apostrophes |
|
|
Hi,
firstly, thanks for the script. I've put it on one of my sites which campaigns for change in Burma. This site encourages people to email Jack Straw, The UN and Lonely Planet to let them know the damage trade with Burma causes. And to make it easier for people to send we complete the textarea with a suggested message.
The problem is the script is adding \ characters right in front of the apostrophes. I realise this is some coding issue but being thick in that area don't know how/if it can be fixed or if there’s a workaround.
Does anyone else?
The returned text is copied below for your reference...
I am concerned that Burma\'s brutal military dictatorship continues to commit widespread human rights abuses including rape, torture and murder. You have accepted that foreign investment in Burma fuels the oppression of Burma\'s people by enriching the dictatorship but you continue to allow British companies to invest there.
The government says it supports Burma\'s pro-democracy leader, Nobel laureate Aung San Suu Kyi. She has asked countries like the UK to impose investment sanctions against Burma - so that other countries might follow our lead.
I understand that your government can enact a new sanctions law which enables it to ban British companies from investing in Burma. I request that you do so as a matter of urgency.
Please use your power to promote freedom in Burma. |
|
| Back to top |
|
 |
optimusmedia
Joined: 07 Jan 2005 Posts: 1
|
Posted: Fri Jan 07, 2005 3:57 pm Post subject: Me too |
|
|
I'm having this problem too and really need it fixed if possible.
I love the form, but the data doesn't come just to me - so how it displays is really important.
By the way, it was the great layout of the form results that made me choose your form to begin with.
Please help if you can. |
|
| Back to top |
|
 |
admin Site Admin
Joined: 10 Dec 2003 Posts: 70
|
Posted: Sat Jan 08, 2005 8:41 pm Post subject: |
|
|
| There is a setting in your PHP ini called magic quotes. If it is turned on, then PHP automatically escapes quotes and apos' with a backslash. You can turn off this setting in your php ini files or edit the script using the stripslashes() function. |
|
| Back to top |
|
 |
|