based on what you said before, you are already uploading the image. presumably, successfully. yes? so you already know how to do that part.
when the image arrives you save it somewhere on your server. can you do that? what's its name? where did you save it? (eg "/dbfiles/section1/123456.jpg")
in your db, you have a col used for each upload right? you create a col called "filename varchar(256)". put the location in that field. later, when you do a select, you get that col. it points to a location. you get the image file at that location.
in databases, it's not unusual for a col to point to other tables and files. (for example, an id can be used to select from many tables that share the same id).
pretend you didn't have a database. if you uploaded an image to your server, what would you do with it? how would you keep track of where you put the files? that's all you're doing with the db. you store the name of the location. the actual image is somewhere else.
you can certainly store it inside the database, but you have to convert it to a blob first. but imagine if you had several databases that could all refer to the same image. you would have to keep a copy of the same image in each database or table! no; you keep 1 copy of the image, but you store its location in all the databases and tables. it's a way of avoiding duplication.
you don't need a customer's name and address in every table. you have 1 table with names and addresses, and you use an id in the other tables.
for a small db system, it probably doesn't matter. but you will have to convert the image data to a blob before storing the image in the db. php will have such a function.