Hi, I'm trying to receive a variable like this:
<textarea name="comentarios" rows="4" cols="40"></textarea>
then submitt it to make the insertion on the database. In the next page I receive this variable and store it in an array like this:
$array[] = $comentario;
The insertion I make it like this:
"INSERT INTO encuesta.datos(id_pregunta, valor, comentario) VALUES ('11', '0', '$array')";
And the updating with this instruction:
"UPDATE encuesta.datos SET comentario = comentario + '$array' WHERE datos.id_pregunta = '11'";
But nothing happens, Could you help me on this?
Thanks