How to implement graphs using fusion charts and php

In this post i would like to explain about how to implementing graphs using fusion charts. And implemented using PHP. In my previous post explained about How to calculate statistics in daily, weekly , monthly and yearly using php. Get the information using that post and implement the graph using this code. Create a xml file with specific feilds and download the fusion charts from the site. By following example i will explain. We can get the values from database and create xml file as mentioned.

This picture denotes : A graph for number of registrations over the year ( by monthly ) divided men and women.

how to implement graphs using fusion charts and php | Anil Labs

how to implement graphs using fusion charts and php | Anil Labs

(more…)

How to calculate statistics in daily, weekly , monthly and yearly using php

In this post i am going to explain about how to calculate statistics in daily, weekly , monthly and yearly using php. Recently i have worked in this concept. In the administration section we need to display these type statistics. I will explain graphs in the next post. Get these information from the database and using php to calculate the statistics.

How to calculate statistics in daily, weekly , monthly and yearly using PHP by Anil Kumar Panigrahi

How to calculate statistics in daily, weekly , monthly and yearly using PHP by Anil Kumar Panigrahi

(more…)

How to write a webservices using php with json format

Hi friends, In this post i would like to explain about how to write a web services using php with the json format. Now a days mobile applications are more popular. Most of mobile applications are implementing for existing websites. To isplay information from database to mobile one mediator is require. So that mediator implementing using php and the output as JSON format to easy to retrieve.

How to write a webservices using php with json format | Anil Labs

How to write a webservices using php with json format | Anil Labs

demo link for How to write a webservices using php with json format download link for How to write a webservices using php with json format

(more…)

Make thumb using PHP with respect the ratio width and height

In this post, I would like to explain how to create thumbnails while maintaining the aspect ratio of width and height. Instead of scaling images to generate thumbnails, we can improve page load times. With a simple PHP code, we can easily obtain image thumbnails.

Efficiently creating image thumbnails is a common requirement in web development. However, maintaining the aspect ratio of width and height while generating these thumbnails is often crucial to avoid distortion. In this article, we will explore the process of making image thumbnails using PHP while respecting the aspect ratio. This technique ensures that your images remain proportional and visually appealing. Whether you’re building a photo gallery, e-commerce site, or any web application requiring image management, understanding how to create thumbnails while preserving the aspect ratio is an essential skill.

 make thumb using php with respect the ratio width and height | Anil Labs

make thumb using php with respect the ratio width and height | Anil Labs


(more…)