Skip to main content

Image Upload

File Size Validation

A simple tutorial that can really help you in an easy way. In this article, we are going to tackle about File Size Validation. There are many ways to use a validation using other languages like PHP, checking the form elements if it is an empty or not. But now, we are going to validate the File Size after clicking the button upload. If the file size exceeding the size that we set our script will surely return an alert.

Calculate Sum (Total) of Column in PHP

Hi guys, The purpose of this code is to teach you on how to calculate the values of a column using the Sum function. This is very useful if you want to create a poin of sale system in your PHP project. Hope you will like this source code, for more question about this code email me at [email protected] thank you. databasename: db folder sum.sql Sample code: Sum the Numbers in a Column Product