Php Random Script

HI

I need a script that “draws” a text and an image from an SQL database, which would get something like this:

https://www.divinazioni.com/talismano_del_giorno/

Thanks.

Well, you can PHP image functions to create an image. Then, place your other image onto that image and draw text onto it. It is just quite simple. But, that page you posted, the text is just text, not drawings. So, I am not sure what you really need. You can create an image larger than the image you are displaying using standard PHP code, then copy the image to it and “draw” the text onto the new image with just about any font you want and any colors. Should work. Here is a link that explains creating the new image: imagecreate

Hey @Giaas ,

If you still need assistance, I would be glad to help you.
What would be the best way to connect and discuss further?

Sponsor our Newsletter | Privacy Policy | Terms of Service