We have now opened a commercial services section here on the forum for registered users. If you have a Fabrik project that you wish to have someone work on for you, post it under Help Wanted. If you are an application developer and wish to earn some money helping others, post your details under Fabrik Application Developers.
Both of these are unmoderated. It will be up to both parties to work out the details and come to an agreement.
For running J!5.1 you must https://fabrikar.com/forums/index.php?wiki/update-from-github/ or include the new file manually https://fabrikar.com/forums/index.php?threads/joomla-5-1-and-fabrik-cannot-find-files-error.54473/post-285151 See also Announcements
$db = JFactory::getDBO();
$my_email = '';
$contact = $formModel->_formData['yourtable___contact_raw'];
if (is_array($contact)) {
$contact = $contact[0];
}
if (!empty($contact)) {
$db->setQuery("SELECT email FROM contacts WHERE id = " . $db->Quote($contact));
$my_email = $db->loadResult();
}
return $my_email;
$db = JFactory::getDBO();
$my_email = '';
$contact = $formModel->_formData['henvendelser___Send_Copy_To_raw'];
if (is_array($contact)) { $contact = $contact[0];
}
if (!empty($contact)) { $db->setQuery("SELECT epost FROM kontakter WHERE id = " . $db->Quote($contact));
$my_email = $db->loadResult();
}
return $my_email;
$db = JFactory::getDBO();
$my_email = '';
$contact = $formModel->_formData['henvendelser___Send_Copy_To_raw'];
if (is_array($contact)) { $contact = $contact[0];
}
if (!empty($contact)) {
$q="SELECT epost FROM kontakter WHERE id = " . $db->Quote($contact);
var_dump($q);
$db->setQuery($q);
$my_email = $db->loadResult();
var_dump($my_email);exit;
return $my_email;
How different would the PHP be? Do you have an example?PS, if you need to select more than one recipient, you can use the same technique, setting your database join to "checkbox" mode, but the PHP in the 'email to (eval)" would be slightly different.
-- hugh