Re: [PHP-DB] Problem with single qoutes

2001-03-30 Thread Yasuo Ohgaki
You shouldn't trust any inputs from users. This section of PHP manual may be useful. http://jp.php.net/manual/en/security.php http://jp.php.net/manual/en/security.variables.php http://jp.php.net/manual/en/function.addslashes.php You may need to write your own addslashes and stripslashes depends

[PHP-DB] Problem with single qoutes

2001-03-29 Thread Matt Braynard
I have created a news script and to my dismay, the script is breaking when there is a single quote - ' - in a form that goes to the database. Any solutions? The text of the script is below. --- E3 Confirm News E3 Confirm News Page Make the necessary edits and the story will be considered "live