Board index   FAQ   Search  
Register  Login
Board index PHP PHP General

After submitting php text words with a ' have a \ in front.

General discussions related to php

Moderators: macek, egami, gesf

After submitting php text words with a ' have a \ in front.

Postby ckwall » Tue Dec 31, 2002 10:46 am

I have a php window where I type text and it is submitted dynamicaly to another web page. If I type something with an ' in it like "Dave's", it shows up "Dave\'s"

What have I done wrong?
ckwall
 

Postby Oleg Butuzov » Thu Jan 02, 2003 12:14 am

nothing wrong...

this is your php.ini options =)

try to do
Code: Select all
$message=stripslashes($message);
Oleg Butuzov
Last Samuray
Last Samuray
 
Posts: 831
Joined: Sun Jun 02, 2002 3:09 am

Postby ckwall » Mon Jan 06, 2003 6:56 pm

That worked, Thank you.
ckwall
 


Return to PHP General

Who is online

Users browsing this forum: No registered users and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron