I have the JQuery code for an autocomplete field, but I am going to be adding a whole lot of possibilities. Like thousands. So I'm wanting to put them in my wordpress/buddypress database. The issue is that I've never worked with databases or anything like that. So really I have no clue how to do this. I also would like to add an image to be related to each possible answer. I know I'll have to create this database, and I'm fine with that. I'm just trying to figure out how to incorporate it.
Here is the JQuery code. This is more of an example and isn't the exact type of information I'll be feeding it.