STRING FORMATTING QUESTION

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 ...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-17-2003
Dale Hersh
 
Posts: n/a
Default STRING FORMATTING QUESTION

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


Reply With Quote
  #2 (permalink)  
Old 07-17-2003
Curt Zirzow
 
Posts: n/a
Default Re: [PHP] STRING FORMATTING QUESTION

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
--

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:46 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0