There are cases when a php developers need to insert mysql data with strings which containing single or double quotes. Mysql  gives error or will not save data if we do not properly escape the string formation characters. To escape these characters php have a function {mysql_real_escape_string()}. This function can be used to format the mysql strings with escaping. e.g.

<?php

$escaped_mystring = mysql_real_escape_string($mystring);

?>

Now if you run the query after escaping it will save the string wit out any error.

Courage to live the Life

Be simple but look stylish, be tough but look soft, be tensed but look cool, be a beginner but look winner. Thats the way of life. Life has no pause buttons! Dreams have no expiry date! Time has not holiday! So don’t waste a single moment in your life! Live it….!

THE ULTIMATE OPT-IN EMAIL PROMOTION

CGI Script that allows you to sell or give away autoresponder email addresses that send out unlimited followup emails to subscribers. Subscribers can be manually added or just email the recipient. Secure admin and webmaster area provide detailed statistics and management of mailing lists. Admin may add custom footers and headers to all outgoing email. Remove link function. Setup is a breeze.

Download Here