using images
Posted: Thu Oct 16, 2003 7:55 am
What I would like to do is display an image instead of a number in my page.
That is to say I have a little form which has a select box from 0 - 9.(there are other fields)
This puts the input into a MySQL db, I have also created 10 little gif images (yes, you got it they're stars, but this is not a poll or voting script) which I have placed in a directory of their own, this will not change.
And what I would like to do is instead of printing the number 2 is to put the 2star gif in its place.
I have looked everywhere and all I've found is poll or voting scripts which do net exactly help me, thanks in advance.
That is to say I have a little form which has a select box from 0 - 9.(there are other fields)
This puts the input into a MySQL db, I have also created 10 little gif images (yes, you got it they're stars, but this is not a poll or voting script) which I have placed in a directory of their own, this will not change.
And what I would like to do is instead of printing the number 2 is to put the 2star gif in its place.
I have looked everywhere and all I've found is poll or voting scripts which do net exactly help me, thanks in advance.