i know how to make the random quote generator, but how do i make a random image generator, i figure it is the same set up in PHP code but how do you upload them to the mysql database and link them all right?
Thanks in advance
You wouldn't want to upload the image to the mySQL database, but rather just keep the path (relative to document root) in the mySQL database. Then just do the same as the random quote....
ok i did ll that but all it does is display the link to the image, can you tell me what dumbass mistake i am making?
use an <img tag instead of an <a tag 😉