I'm tring to write a link program. so far i've managed to be able to et the program to grab the categories list and put it in the input form.
what i want to do is when someone submits a page with links on it (they can also select categories), it inputs all the data into the links table as well as another table (cat_link) with linkID and catID, but i need the linkID in the cat_link table to match that with the links table.
how do i do this?