I am trying to send information from a to a DB.
I am using Jfactory. This is the HTML:
<textarea name="task" class="form-control" id="task"></textarea>
Variable:
$_POST['task']
This is the HTML that injects:
$query = $db->getQuery(true);
$query->insert($db->quoteName('#__reports'))
->columns(array('client', 'site', 'percent', 'tarea', 'time', 'assignto'))
->values(implode(',', array($db->quote($client), $db->quote($site), $db->quote($percent), $db->quote($task), $db->quote($getDate), $db->quote($userAssign)) ));
$db->setQuery($query);
$result = $db->query();
The weird thing is that everytime I put a "." (point) I got this error:
===> Invalid controller: name='dasdada', format=''
The MySQL field is on TEXT and I have tried LONGTEXT and Varchar