/ Published in: PHP
I recently wanted to use stars to show my skill levels in various aspects of web design in my portfolio e.g, PHP, MySQL etc; similar to a rating system. It would be repetitive to have to copy the HTML image code over and over or to design various ratings in photoshop.
So I came up with this function, all you need are three images: a full rating star, a half rating star and an grayed out unrated star
So I came up with this function, all you need are three images: a full rating star, a half rating star and an grayed out unrated star