This is a discussion on STRING FORMATTING QUESTION within the PHP General forums, part of the PHP Programming Forums category; My question is regarding strings in php. I have this form in which the user fills in a description. The ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
My question is regarding strings in php. I have this form in which the user
fills in a description. The problem is that if the user uses any aprostrophe's or any other unusual characters in the form, the string can not be inserted into my ms sql database. Any ideas? Thanks, Dale |
|
|||
|
Dale Hersh <dalehersh@hotmail.com> wrote:
> My question is regarding strings in php. I have this form in which the user > fills in a description. The problem is that if the user uses any > aprostrophe's or any other unusual characters in the form, the string can > not be inserted into my ms sql database. > > Any ideas? http://www.php.net/addslashes and http://www.php.net/manual/en/ref.syb...-quotes-sybase > > Thanks, > Dale Curt -- |