Based on this code you can have several different ID's but only one upload form. How is the user picking which veh they are upload the photos for? You just need to add a hidden form field to your form once you know <input type="hidden" name="veh_id" value="<?= echo $row['id']; ?>" />
@Diafol, hello again and sorry, that part of the code should have been deleated, that was a part of a failed attempt at getting it over using an input and I had set $ref = $row['id']; but it didnt work, though I did try a few different variations of that.
@GP, The code will be adjusted to pull up only the vehicle that they click "details" for, I only have one vehicle entered into the vehicles table at the moment though so I just used that code to make it quick.
@GP, Adding that code to my page, rather then making it hidden, i make it a text field so I can see if it is working propperly, however it just shows a "\" in stead of a number, is that because I am pulling everything from the table even though there is only one? maybe I need to pull the specific row rather then everything? then maybe it will show?
i must say I really like DaniWeb here, i have tried other help forums but I have only recieved responses that actually help here. the other threads send me links to things I have already tried and explored. You all rock here.