Keep Coding

Never Stop Learning

Category: PHP (page 2 of 2)

How to convert Google Chart to PNG and PDF

chart_printableIf you use Google Chart for reporting and visualising data you may want to have a functionality of exporting charts to PNG and PDF files. Here I will guide you how to quickly convert Google Chart to PNG and PDF. For those of you interested in using Google Chart I recommend you to have a look at this tutorial that I made a while ago.

More …

Data Visualisation with the Google Chart, PHP and MySQL

Pie ChartGoogle chart provides a perfect way to visualise and report data on your website. It includes powerful, simple to use, and free interactive charts and data tools. You can easily connect them to your database and make real time charts and graphs. For a quick start, Google has provided an extensive documentation named Hello Charts!. However, for those of you who own a website running on PHP and MySQL I suggest you to read this step by step tutorial. So let’s get started.
More …

How to Add Custom PHP to WordPress Pages

add custom php to WordPress pagesHave you ever wanted to insert your PHP code in a WordPress page? Well, in Joomla this is really straightforward and there are plenty of plugins such as Jumi and DirectPHP that can help you to achieve the goal. Using these plugins you can include PHP files or even directly embed your code inside an article. In contrast, I couldn’t find any alternative in WordPress and came up with a different solution: A Custom Page Template. This is a safe and easy way to add custom PHP to WordPress pages.
More …

Newer posts