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?

You also already have a thread for this problem/topic. Don't abandon threads and start new ones for the same problem, as that just wastes the forum member's time and actually reduces the amount of help you get.

 

Topic locked.

Archived

This topic is now archived and is 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.