Thanks, Ben. That's great news. When I finish up writing the PayPal integration script, I'll be sure to check out the 2.1.0 alpha build and send you some feedback (can't wait to try it).
Thanks for replying to my original question; everything seems to work fine in testing. What I thought might be useful would be to have a dynamic helper function in formtools that automatically retrieves any admin email accounts; useful for notification purposes when writing integration scripts.
Perhaps something like:
I find it really useful.
Any chance of including it in the api?
Thanks for replying to my original question; everything seems to work fine in testing. What I thought might be useful would be to have a dynamic helper function in formtools that automatically retrieves any admin email accounts; useful for notification purposes when writing integration scripts.
Perhaps something like:
PHP Code:
function ft_get_admin_emails()
{
global $g_table_prefix;
$link = ft_db_connect();
$query = ("SELECT email ".
"FROM ".$g_table_prefix."accounts ".
"WHERE account_type='admin'");
$result = mysql_query($query);
$row = mysql_fetch_row($result);
$to = implode(", ",$row);
ft_db_disconnect($link);
return $to;
}
I find it really useful.
Any chance of including it in the api?