$text="abcd ' ded";
insert into table_name(tt) values('$text😉;
But It is wrong! and I how to deal with this.
because the $text include ' .
Can you help me?
use addslashes function.
check out php manual on section L.String Function.
this function will make your
$text = "abcd \' ded"
note: check the StripSlashed function too.