SQLite - PDO - double quotes escaped

Codes here !

Moderators: macek, egami, gesf

Post Reply
User avatar
Nullsig
php-forum Fan User
php-forum Fan User
Posts: 981
Joined: Thu Feb 17, 2011 6:52 am
Location: Racine, WI

Re: SQLite - PDO - double quotes escaped

Post by Nullsig » Fri May 25, 2012 8:26 am

By not inserting it into the database with the slashes.

By ensuring that magic quotes is turned off

By using stripslashes() function.

User avatar
Nullsig
php-forum Fan User
php-forum Fan User
Posts: 981
Joined: Thu Feb 17, 2011 6:52 am
Location: Racine, WI

Re: SQLite - PDO - double quotes escaped

Post by Nullsig » Fri May 25, 2012 10:04 am

Magic quotes and global variables should be disabled.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests