When, I am trying to insert "I am Fine & How are you". And, when i look back to the database, then i see, only "I am Fine" is inserted rest words are trimmed from that sentence. This problem also arise, when i use ' in between the sentence.
My sample code is
$title= mysql_real_escape_string($_POST['title']);
mysql_query("insert into table_db(TITLE) values ('".$title."')") or die(mysql_error());
I searched on google, and found many solution, but, my problem still unsolved. help will be appreciated !!
varchar(300)
I am Fine How are you, without the ampersand?