Blogger Tricks

About PHP / MySQL: Magic Quotes

Written By wanes day on Wednesday, November 2, 2011 | 8:25 AM

If you can't see this email, click here

About.com

PHP / MySQL

PHP Basics

MySQL Basics

Advanced Skills



From Angela Bradley, your Guide to PHP / MySQL
Hello Programmers!

This week we are taking a look at Magic Quotes and what they mean to your PHP programs. We also look at different development stages for software.

Have a great week!


Magic Quotes in PHP
When turned on, Magic Quotes automatically performs an addslashes () on all form data submitted. This means that a [\] is placed before every ['], ["], [\], or nul in the data, so That's Great would be converted to That\'s Great automatically. This all happens before your coding even sees that data, so if you're just passing a string to the next page (and not to a database) it will print out with slashes even though you may not want them.

Software Development Stages
If you plan to release your PHP scripts to the public they will probably go through several stages of development before they are ready for general use.
See More About:  alpha  beta  programming glossary

String
In programing a string is a sequence of letters, numbers or symbols. Although it can contain numbers, a string does not represent a numeric value (other than perhaps 0 or 1 to determine if it exists).
See More About:  php strings  php data types 



 


PHP / MySQL Ads
Featured Articles
Step By Steps
PHP Functions
MySQL Commands
Security for PHP and MySQL
PHP and MySQL Basics
Tools and Resources

 

More from About.com

What is ADD?
Learn more about Attention Deficit Disorder, a condition that affects approximately 2 million children in the United States. More>



Living with ADD
Distractibility, restlessness, and difficulty organizing oneself are just a few of the issues individuals with ADD must learn to cope with. More>




This newsletter is written by:
Angela Bradley
PHP / MySQL Guide
Email Me | My Blog | My Forum
 
Sign up for more free newsletters on your favorite topics
You are receiving this newsletter because you subscribed to the About PHP / MySQL newsletter. If you wish to change your email address or unsubscribe, please click here.

About respects your privacy: Our Privacy Policy

Contact Information:
249 West 17th Street
New York, NY, 10011

© 2011 About.com
 


Must Reads
Learn PHP
Using PHP with MySQL
Learn MySQL
Create Email Forms
PHP Login Script
 
Follow me on:
Facebook Twitter

Advertisement

0 komentar:

Post a Comment

Related Posts Plugin for WordPress, Blogger...
 
berita unik