I've made a PHP script and a admin panel of it. But i have issue when inserting records into the DB. I'm using this code:
<input name="title" type="text" />
and to get it I use :
$code = $_REQUEST['title'];
But when i want to insert this text:
Un jour comme les autres, Gerry Lane et sa famille se retrouvent coincés dans un embouteillage monstre sur leur trajet quotidien.
I fount that just :
Un jour comme les autres, Gerry Lane et sa famille se retrouvent coinc
this is the code i use to insert into Db :
$q = "INSERT INTO `movies` (`code`) VALUES ('$code')";
$result = mysql_query($q) or die(mysql_error());
How can I fix it ?