Mar 10th, 2014, 8:36 AM
Hi Joe
Thanks for the reply. I did have a quick look at that but in the meantime I seem to have cracked my problem. For anyone else who needs this, here's the code in my hook:-
Now I am off to crack the Enigma Code!! :o)
Thanks
Thanks for the reply. I did have a quick look at that but in the meantime I seem to have cracked my problem. For anyone else who needs this, here's the code in my hook:-
Code:
$account_info = ft_get_account_info($_SESSION["ft"]["account"]["account_id"]);
$acc_id = $account_info["account_id"];
$table_prefix = "ft_";
$query = "UPDATE {$table_prefix}form_{$form_id}
SET account_id = '$acc_id'
WHERE submission_id = $submission_id";
@mysql_query($query);
Now I am off to crack the Enigma Code!! :o)
Thanks