Hi,
$t['index'] = "'";
foreach ($t as $k => $v)
{
$t[$k] = addslashes($v);
}
$t = serialize($t);
$oid = mysql_query("INSERT INTO prova VALUES ('$t')");
$oid = mysql_query("SELECT txt FROM prova"); // There are only one row in my db at this time
$data = mysql_fetch_array($oid);
$d = $data['txt'];
$d = unserialize($d);
if (!$d)
{
echo("error");
}
Why I get error if $t['index'] contains the character '.