Help w/ ENT_NOQUOTES - Not Displaying Properly

Links for php scripts

Moderators: macek, egami, gesf

Post Reply
User avatar
egami
php-forum GURU
php-forum GURU
Posts: 2196
Joined: Wed Oct 06, 2010 11:19 am
Location: Happy Valley, UT

Re: Help w/ ENT_NOQUOTES - Not Displaying Properly

Post by egami » Tue Apr 10, 2012 4:44 am

67 Super Sport,
Are you submitting this form via GET or POST?

It *shouldn't* matter at all to be blunt with you, but what it sounds like is that you have magic quotes turned on, on the server.

I recommend turning that off.. as it is nothing but a problem.

php.net/gpc_magic_quotes


To have quotes in a string, you simply need to wrap them in single ticks..

ie..

$myTextString = 'This is my "Happy" Place!';

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests