Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.

Moderator: amosbatto

Forum rules: Please search to see if a question has already asked before creating a new topic. Please don't post the same question in multiple forums.
By marcosfpa
#790045
Hi, I have a problem with PM Table. I created a process that captures some data and inserts it into a GRID. I created the TRIGGER below to get the GRID data and insert it into a PM Table. But it only inserts a few lines and not all the data. The GRID has 232 records and in the PM Table only 84. What's wrong with my TRIGGER?

TRIGGER:
$gridprocesso = @=listaJuridico;

foreach ($gridprocesso as $row) {
$numCaso = $row['numCaso'];
$cod = $row['codCliente'];
$cliente = $row['cliente'];
$adv = $row['advogado'];
$total = $row['total'];
$status = $row['status'];


$insert = "INSERT INTO PMT_RELATORIOCOBRANCAS (NUMCASO, CODCLIENTE, CLIENTE, ADVOGADO, STATUS, TOTAL) VALUES ('$numCaso', '$cod', '$cliente', '$adv', '$status', '$total')";
$result = executeQuery($insert);
}
By zainab
#790063
Hello marcosfpa,

Kindly edit your php.ini file and increase the value of max_input_vars. Restart your Apache server, and check if it works correctly.

Hope this helps.

Best Regards,
Zainab Sabunwala

Hello! If you did not find the mcrypt extension […]

Hello! You have a mistake in the url, the correct […]

objects variable in grid

Hello! It is very rare since I could not replicate[…]

Hello! It is likely that the design you are doin[…]