Jump to content

adding multiple selections to a database


1internet

Recommended Posts

Ok, I am beginning to think this impossible, but people do it, so there must be a way.

I have a blog, and want to have the option to add the blog to multiple categories, through multiple select box.

 

I have created a new table to match each blog id with the corresponding category ids.

 

Now when I try to create a new blog, and add the categories to the database I can't work out how to, because I don't know the id of the blog as it doesn't have one until it is created.

 

What am I doing wrong?

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.