note 30634 deleted from function.addslashes by didou
| From: | didou@php.net | Date: | Sun, 18 May 2003 00:59:53 +0000 |
| Subject: | note 30634 deleted from function.addslashes by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-48307@lists.php.net to get a copy of this message | ||
Note Submitter: rex@teravox.com
----
i found this solution for working out javascript along with PHP and Mysql the most effective . first
u use
$text = addslashes($text) and then
$text = str_replace("\'", "'", $text);
it may not be the best way to do it but it did solve my problem