Hello, I'm new to PHP and thescripts.com. I'm trying to edit a website with a database and photos. Users can upload a photo with data(php, database and scripts are all in place). I want to be able to let the user upload more than 1 photo for that specific item. Seems like a simple fix but I can't seem to figure it out. Below is code for uploading 1 photo.
<img width="180" src="<?=($vehic leAddition->hasPhoto ? ($vehicleAdditi on->originalPhot o ? getAutoThumbnai l($vehicleAddit ion->vid) : getNewSessionTh umbnail()) : "images/thumb_nophoto.g if")?>"/>
<img width="180" src="<?=($vehic leAddition->hasPhoto ? ($vehicleAdditi on->originalPhot o ? getAutoThumbnai l($vehicleAddit ion->vid) : getNewSessionTh umbnail()) : "images/thumb_nophoto.g if")?>"/>
Comment