I have a form that inputs data into 2 tables table 1 is jos_k2_items and table 2 is jos_phocamaps_marker. I've got everything working correctly but what I would like to do but have no idea how is create my article in jos_k2_itmes at On Submit. Then in the On Submit after sending email some how create a link to that created k2 article. I think I have my logic correct because the k2 item should already be created once On Submit code -before sending email happens correct? I just don't know how to create the hook to find what to link to on the phocamaps marker.
Any ideas?
Any ideas?