How to create percentage image
<p>I am learning PHP and I just made a simple voting poll. It works and shows the percentage for each question (there are 3 questions in total), but I want also to show a bar that shows the percentage as well (so if the first question is 50% and the bar is 100px, the bar for that question should be 50px).</p>

<p>Here are the vars that have the final number (percentage).</p>

<blockquote>
  <p>$fr = round(($f / $total) * 100);
      $sr = round(($s / $total) * 100);
      $tr = round(($t / $total) * 100);</p>
</blockquote>
