Introduction to JPGraph (Part I)



I am sure you must have heard about JPGraph. JPGraph is an Object Oriented graph library, which can help you to draw graphs. The real advantage in using JPGraph is its simplicity. Creating a graph at runtime may sound complex! But JPGraph class has been designed in such a way that they hide the complex part from the user. Few lines of coding can create amazing graphs, which you can never think of.


Title: Introduction to JPGraph (Part I)
Submit Date: Monday, October 15, 2007
Last viewed at: Friday, September 10, 2010
Today Hit: 2
All Time Hit: 1824
Reviewed : 0 times
Voted : 0 times
Av. rating :
View tutorial
(0) posts Discuss (0 posts)      

More latest headlines in PHP/mySQL
The native array pointer functions in PHP allow you to traverse an array without actually referring to specific array elements. They can be particularly useful if you're using an associative array and wish to use the first element in the array. An internal array pointer, in PHP, is fundamentally an invisible pointer that points to a particular record in an array.

I’ve opted to use a Flex and Javascript combination for the image uploading which might make this section of the project interesting for other people than ZF/Smarty geeks. Due to that fact most of the markup and actionscript for this piece is a separate article called

This tutorial aims to outline the process of creating a visitor map you sometimes see on MySpace profiles. It does not aim to be a definitive guide on creating an incredibly precise map, but rather shows an example of the process involved and how different APIs and data can work together. Due to the nature of the external services used, it is not going to be entirely accurate, however it generally bodes quite well and is accurate to country almost all the time. Eventually, this is the kind of output we'll get:

Let's start with the form, which requires the user to fill in his username and password. Take for example: we have an table in the database called 'accounts' where all registered accounts are into, with the fields:

In this tutorial I will show you the basics of a template engine.
Template engines are brilliant for separating content from design from code. This allows you to keep the same content format and just change the template and voila your content is in a new template.

Many people have heard of SQLite but not many people have used it in their PHP applications. Most PHP applications make use of the MySQL database engine to store information however this is not always needed for small amounts of data. In these cases, web applications often store their data in a "flat file" format, often just a plain text file or an XML file. Both of these methods have their downsides. For examples, if you distribute the web application, your customers may not have access to a MySQL server. In the case of flat files, these can quickly grow large and inefficient and can be difficult to query.

In this tutorial i will teach you how you can upload files to your website using PHP. I will teach you the basics and show you how to manage witch files may be uploaded.

A very useful aspect of PHP is its ability to manage file uploads to your server. Allowing users to upload a file to your server can be a security risk, so please be careful when uploading files.
Before you can use PHP to manage your uploads, you must build an form that lets users select a file to upload.


Don’t know what a trackback is? Check out this set of articles for a bit more information.

Assuming you do know what a trackback is, how do you send one - technically speaking? And how can we write a php script to send one?

A trackback is a simple ping - an HTTP Request. It is specially formatted with a limited amount of information. The receiving server is set up to handle that information and use it to create the comment based on your trackback ping.


In this tutorial, we’ll see how the PHP server-side scripting language can be used to send email, and explore how to send complex message types such as HTML email or emails with file attachments.

For convenience we will be using PHPMailer in this tutorial.
PHPMailer is a class for PHP that provides a package of functions to send email. The two primary features are sending HTML Email and e-mails with attachments. PHPMailer is an efficient way to send e-mail within PHP.


Debugging essentially means to track down an error in your code. Found a "bug" in your code? Then you need to "de-bug" it. This article will introduce you to some basic concepts such as error checking and built-in functions like var_dump() that will aid you in tracking down errors in your PHP applications.





Back to article