PDA

View Full Version : multiple images



stevenbhn
07 Dec 2006, 04:42 AM
Hi.

I have worked out how to link to an image through a database.

I will explain how i have done this then ask a new question.

I set up my tables in the database.

id..............int
title...........varchar
message.........text
imageName.......varchar
image...........varchar
date............date
order...........timestamp

the image field i just type the image name eg. "fatboy.jpg"
Then in dreamweaver i create a recordset then bind the src to the database row 'image' with the correct path. This works great as i can bind the ALT to the 'imageName'.

NOW i want to be able to add several images to the one post.

I have tried typing in the 'image' row of the database "fatboy.jpg, artics.jpg, moby.jpg" but this doesnt work.

Anyone any idea of how to add several images without adding several image entry rows in my database.


Yes i am creating my own custom blog to promote my animation site.

I thought about using wordpress but thought this would be better.
:xmas: