Welcome to the Small Business Ideas Forum! We are a community of over 100,000 small business folks with over 163,000 posts for you to browse. We pride ourselves on being the friendliest forum you will find and we'd love to have you as a member of our community. Please take a moment and register for a free account. If you need any help, please contact Chris Logan.

Small Business Ideas Forum

Small Business Ideas Forum

A friendly place to share small business ideas and knowledge, ask questions, find help and encourage others that are involved in the small business industry. Topics include small business marketing, generating revenue and small business computing.

Go Back   Small Business Ideas Forum > Small Business Computing > Website Development
Register Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
Old 31st August 2009, 10:56 AM   #1
anisha35
Member
 

Join Date: Aug 2009
Posts: 2
Default A Question About Form Input

hey guys I do basic php stuff but I am no pro

I created a form and php file that lets me ad articles to my site and it works well here is where I am stuck.

when I type or paste in an article I first paste it into notepad and replace " with \"
and that works fine. But would some one tell me the code to use in my php file to replace the " with \" as the input from the form is being processed by my file.

so I can cut out the extra step with notpad.

Thanks in advance.

anisha35 is offline   Reply With Quote
Register or log in to remove this ad.
Old 6th September 2009, 08:58 PM   #2
Sporkman
VIP Contributor
 
Sporkman's Avatar
 

Join Date: Oct 2007
Posts: 304
Default

I think you're looking for this:

http://us2.php.net/manual/en/function.addslashes.php

Take a look at the "See also" section as well.

Sporkman is offline   Reply With Quote
Reply   

Bookmarks


Similar Threads
Thread Thread Starter Forum Replies Last Post
Contact Form Abuse YankeeJim General Online Marketing Information 4 21st March 2009 02:37 PM
Issuing 1099 Form silvyd79 Small Business Finance 4 17th January 2008 09:46 PM
302 Redirect Question PressureProsInc Search Engine Optimization 10 16th January 2008 10:07 PM
Need A Contact Form pascu Computer Software 8 26th May 2007 03:24 AM
Use Of Forms Vs E-mail Link In Contact Page aurinka_jon Website Development 8 28th March 2007 11:43 AM



Thread Tools

Get Updates
RSS Feeds:
RSS Feed for Website Development RSS for this Category Only: Website Development

RSS Feed for Small Business Ideas Forum RSS for Entire Forum
Forum Rules


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 On
[IMG] code is On
HTML code is Off
Forum Jump


Small Business Ideas Forum


 
At Your Business - Small Business Directory
Free Business Forms - Prewritten Documents
 
Search Engine Guide
Small business guide to search marketing

 
Small Business Brief
Fetching the Best Small Business Info


Free Links - Free Advertising
Free Guide - Online Directory



Advertise your business here
Contact us for more details!


Semantic Juice
Register now to access free Quick SEO service!


Rocket Lawyer
Sign up for free 7 day trial. Boost your biz!


Buy UPC Codes
Get your products listed online!




All times are GMT -5. The time now is 10:02 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright 2004 - 2018 - Privacy