Im trying to have a random image show up on my homepage, but i want it to link to the actual image page it is contained on but it keeps reloading the page here is the code:
" title="">
What is the while loop for? As coded it only loops once, so seems somewhat redundant.
Also, your code must not be complete--as shown above there are some dangling constructs. To show code on this forum you should enclose it in 'peck' marks. (On a US PC keyboard that is the character below the tilda on the left end of the numeric key row.)
Anyway, somewhere there would need to be the href link to the image page.
Im still getting to grips with php, i removed the loop now, but it still goes to the same album everytime, how do i set it, so that when i click on the random image it takes me to the (random generated image) page
`">`
yeah great that works fine now! appreciate