PHP echo parking sign

Hi!
i want to show an parking sign on my web site and the number of vacancies next to it.
something like:
http://s9.postimg.org/61msknw1r/sign.jpg

how can i do it in php?
thanks for the help!

The easier way without too much php knowledge in drawing graphics would be have an image you want with all the # of vacancies you have 0 - 200, then you will have 200 images… name them vacant1.png - vacant200.png

Then you just have to reference the image you want based on the vacancies

[php]echo " <img src='vacant" . $vacanciesTotal . “.png”>"
[/php]

Sponsor our Newsletter | Privacy Policy | Terms of Service