Random Generator Coding Help

User 2879936 Photo


Registered User
38 posts

Hi all!

I'm embarking on a new personal project and it requires something very similar to this random 'generator' on this website:

https://jwebgen.com/generate
https://jwebgen.com/breed

I'm familiar with HTML/CSS, but I'm unsure of how to replicate the function of these forms (I see in their code that they use a PHP script, but I'm not sure where to go from there)!

Would anyone have any tips on how I might be able to accomplish something similar?

Thank you! :)
Laura
User 187934 Photo


Senior Advisor
20,186 posts

What do you want to generate? Similar seems kinda broad.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2879936 Photo


Registered User
38 posts

Hi Eric!

At the moment, I’m trying to figure out how to output an image that is randomly ‘colored’ with the click of a button. Like how in the example link, the final image has a random hair color, body color, etc that constantly changes with each click.

I’m not sure where to even begin to understand it, but the owner kindly let me have access to view the PHP files, and I have to say my mind is blown (no idea what I’m looking at but attempting to make sense)! :P

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.