How do you create an image with php?

images php coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply

Thu Jul 29, 2010 2:36 pm

How can I create an image like the horizontal bars in a poll? If you give me code can you explain it, or without code tell me how I should go about it?

User avatar
php-forum Active User
php-forum Active User
Posts: 277
Joined: Wed Aug 25, 2010 10:42 am

Tue Sep 14, 2010 9:12 am

It can be normal JPEG image and change the width:

<img src="/bar.png" width="98" /><br />
<img src="/bar.png" width="63" /><br />
<img src="/bar.png" width="38" /><br />


Post Reply