Problem rijesen.
<?php
$x1=50.00;
$x2=25.00;
$x3=12.50;
$x4=12.50;
$x=$x1+$x2+$x3+$x4;
$y1=($x1/$x)*100;
$y2=($x2/$x)*100;
$y3=($x3/$x)*100;
$y4=($x4/$x)*100;
//print "y1 ima vrijednost $y1. <br>";
//print "<br>";
//print "y2 ima vrijednost $y2. <br>";
//print "<br>";
//print "y3 ima vrijednost $y3. <br>";
//print "<br>";
//print "y4 ima vrijednost $y4. <br>";
//print "<br>";
header ("location: http://chart.apis.google.com/chart?cht=p3&chd=t:$y1,$y2,$y3,$y4&chs=250x100&chl=A| B| C| D");
?>