Archivee for the 'PHP' Category

Google Charts API with PHP

Ludwig Pettersson has written a class that allows you to conveniently create charts with PHP and Google Charts API.
Google Charts is a simple API that lets you create various types of charts. To create a chart, you just need to call a URL with specific parameters and you receive an image back.

This is greatly simplified with a PHP class.


$data = array(
'IE7' => 22,
'IE6' => 30.7,
'IE5' => 1.7,
'Firefox' => 36.5,
'Mozilla' => 1.1,
'Safari' => 2,
'Opera' => 1.4,
);

$chart = new googChart();
$chart->setChartAttrs( array(
'type' => 'pie',
'data' => $data,
'size' => array( 300, 200 )
));
echo $chart;

Die Ausgabe:
Chart

Looking for Good PHP Blogs

I know many good English-language PHP blogs, but not a single German-language one.
Can someone recommend a few? Gerne auch mittels Kommentar.

Zend_Service_SlideShare accepted into the Zend Framework incubator

John Coggeshall’s Zend_Service_SlideShare ist accepted into the Zend Framework incubator. That is a good news, but why doesn’t anyone wirtes a Zend_Service_Paypal?