Hello, I noticed that when I use aa IPN php file. The IPN Elements are not updated in my database. But when I don't use an IPN php file, my elements are stored correctly. I used the IPN example php file and I added email sending to it (that works). Can you please help?
1- Do I need to add something to my phph file so that data is stored??
2- How can I update a fabrik element using the php file ??
I tried some codes like:
$formModel->data['table___element']='3';
and some code like this:
// Get a db connection.
$db = JFactory::getDbo();
// Create a new query object.
$query = $db->getQuery(true);
// Insert columns.
$columns = array('fieldA', 'FieldB');
// Insert values.
$values = array('1', '2');
But it doesn't work
1- Do I need to add something to my phph file so that data is stored??
2- How can I update a fabrik element using the php file ??
I tried some codes like:
$formModel->data['table___element']='3';
and some code like this:
// Get a db connection.
$db = JFactory::getDbo();
// Create a new query object.
$query = $db->getQuery(true);
// Insert columns.
$columns = array('fieldA', 'FieldB');
// Insert values.
$values = array('1', '2');
But it doesn't work