Bluehost.com Web Hosting $6.95

Textbox value, backslash, and PHP variable

This is a discussion on Textbox value, backslash, and PHP variable within the PHP General forums, part of the PHP Programming Forums category; I have a form with a textbox. On submitting the form I read the textbox value into a php variable. ...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-27-2003
John
 
Posts: n/a
Default Textbox value, backslash, and PHP variable

I have a form with a textbox. On submitting the form I read the
textbox value into a php variable. If the value in the text box
contained a ' or " anywhere in the string, the php variable adds a
backslash ahead of the character. How can I get rid of this unwanted
backslashes?

Thank you
John
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 04:43 AM.


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