phantompressents Posted August 23, 2006 Share Posted August 23, 2006 Can somebody help as to how we can create a system where by a user can leave a review and add their own image at the same time? We've created the necessary database tables, having tried it in reviews and review_description, and can call an image once it is placed in the correct directory, but we cannot work out how to select the correct id's /image name and add it to the reviews table in the correct place . It is very similar to adding a new product in the catalog surely... so if any one can help me write the basic code for selecting the review_id + product_id and image name joining them so the image name gets put next to the correct users review in the database i would be most greatful Thanks Matt Quote Link to comment Share on other sites More sharing options...
phantompressents Posted August 24, 2006 Author Share Posted August 24, 2006 Come on you guys im sure one of you seasoned programmers can help me out. so far i have made a pop up window on the write_reviews page which has a form for uploading the image. Now i need help with adding the sql for finding the review id and adding to the database... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.