I have been working on a web application which I have to save a product information. I uses Cloudinary as my photo upload etc.
The workflow goes like this:
Information saves into session -> Information saves into database from the session when method to upload photo is triggered -> photo information is stored into database
However, I keep encountering problems when I attempt to save the information into session. I have tested out that the information is able to be saved into the database standalone, however I don't know how to make the necessary adjustments to make the photo upload. Please help me out ASAP, thanks in advance.
EDIT: I managed to solve it and managed to save the information into the database. However I still need to store other information.
This a selection menu that is database driven. As such option value 1 or 2 will be represented when database is set.
EDIT2: I managed to fix the problem stated before. I'm left with parsing in a value and 2 presentation issue.
As of right now, I can parse Product Name, Product Image and Product Price (off the picture) into the session and database. The description's value seems to keep returning null and strangely enough can be parsed into the database.
Problem 2: I don't know how to display the picture stored in Cloudinary! (RESOLVED)
I have decided to improvise and implemented a table, successfully handled that issue!
Problem 3: I can't update the photo in Cloudinary
Revised project as of 19/8/2016 8:11PM (GMT +8):
NOTE: I need to submit this at 11:30PM (GMT +8) 19 Aug 2016