I want to save a URL like the one below in a MySQL table
http://www.google.com/search?q=mysql+rel+scape&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a#hl=en&safe=off&client=firefox-a&hs=uUt&rls=org.mozilla:en-US:official&sa=X&ei=t_jMTtvUE4jfsgbA_4HdDA&ved=0CBgQvwUoAQ&q=mysql+real+escape&spell=1&bav=on.2,or.r_gc.r_pw.,cf.osb&fp=6f9f60a823dcbbc2&biw=1920&bih=901
but it's only saved up to
http://www.google.com/search?q=mysql rel scape
I tried UTF-8, text, varchar column types but it doesn't seem to work. This is what i use for my insert query:
'".addslashes($_POST['url'])."',
Can anyone point me out where is the problem?