Hi guys and girls,
im stuck on a bit of php code. First ill explain my database structure.
I have a products table and an uploads table. uploads stores image and product stores product info.
okay heres the prob. Within my form im posting all the neccessary details but i also need to pass the upload_id from the uploads table to be stored as a value in the products table. Currently my script seems to be logging the same image id and ultimately pulls the wrong image. Ill include the code:
i really appreciate any help on this.
ill have to post code in bits it seems so here goes