I think my problem is simple, I'm trying to insert into the database through the time()
function but it does not enter values.
Code
$time = time();
mysql_query("INSERT INTO posts (user_id, estabelecimento_id, opiniao, data)
VALUES('".$_REQUEST['user_id']."',
'".$_REQUEST['id_estabelecimento']."',
'".$_REQUEST['opiniao']."',
'".$time."' ");
That way you do not insert anything into the database, I do not know what might be causing this.
Column is bigint type