PHP

Image Uploader

Submitted by biddut on
With PHP, it is easy to upload files to the server. However, with ease comes danger, so always be careful when allowing file uploads! Some rules to follow for the HTML form above: Make sure that the form uses method="post" The form also needs the following attribute: enctype="multipart/form-data". It specifies which content-type to use when submitting the form Without the requirements above, the

How to Create a Doughnut Graph Using PHP/MySQLi

Submitted by janobe on
If you want to be creative in creating statistics sales report you can try this simple program that I’m going to share to you. This time, I will teach you how to create your own custom doughnut graph using Chart.js and PHP/MySQLi. This kind of graph demonstrates the products sale in different slices depending on the sales of the products. It also automatically set a colour to easily identify each products. Let’s begin.