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

General discussions related to php

Moderators: egami, macek, gesf

Post Reply
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?

Oleg Butuzov
Last Samuray
Last Samuray
Posts: 824
Joined: Sun Jun 02, 2002 3:09 am

Thu Jan 02, 2003 12:14 am

nothing wrong...

this is your php.ini options =)

try to do

Code: Select all

$message=stripslashes($message);

ckwall

Mon Jan 06, 2003 6:56 pm

That worked, Thank you.

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest