Dynamic Exporting to Excel by phpExcel and Ajax

   08/08/2014
124837 , 0

It is very common to have the list exportable to save the data from the database to local machine. Doing this with online web list data is not that hard. We would like to recommend using phpExcel to get this work done. However, this tutorial not only introduce that library but also introduce how to using that library dynamically meaning that create your own library to work with the existing library. What does using that library dynamically really mean? To answer this question, let’s suppose there are 4 table lists in our website with different data like customerinfo, customerlog, songlist, and newslist. Therefore, using that library dynamically means having a standard php file containing our own library and be able to be used for all data list type by just identifying the list type.

Bootstrap Pagination Using Ajax and PHP

   20/12/2014
114251 , 0

Twitter Bootstrap is the very popular CSS template framework best for modern responsive web design. Bootstrap provides various templates of website design materials including table list, form, content grid, button, graph, model, and so on. In this tutorial, we will take a feature of bootstrap to customize for more user-friendly. Bootstrap only provides the template of table design with static data. With this template, we will make it more flexible with PHP and Ajax. Let’s see how to make it works.

jQuery Calculator

   09/11/2021
109069 , 0

You may get used to window calculator application and find it easy to access than actual calculator on your hand. But what if you have it right in your web application? Yes, it is going to be easier and quicker. In addition, it will make your web application more efficient as you can make the calculation result right in to your working algorithm. However, you will be shown the standard calculator and you can extend it to be more complex as you want. In this tutorial, you will find out how to make it works right in your web application just in minutes.

PHP Download File

   08/08/2014
103522 , 0

In some cases, we really do not want to show the URL of the file to be downloaded. I can be related to the file/directory security or privacy of the file. This tutorial will help to hide the real file URL by just connecting a PHP file with an ID of the row then the push-download will occur.

Read Number to Khmer Text Using PHP

   18/12/2014
102831 , 0

This tutorial will explain the technique of reading number (Latin or Khmer character) to Khmer Unicode text using PHP. This tutorial is useful for the website or web application that requires Khmer language and needs to display Khmer number as text by just inputting only the number (Latin or Khmer character). This function can also be used in receipt or invoice generating in web application where the amount/price may need to be written in Khmer text. Example, by putting the number 11989 or ១១៩៨៩, you will get the return string as “មួយមឿនមួយពាន់ប្រាំបួនរយប៉ែតសិបប្រាំបួន” or “ដប់មួយពាន់ប្រាំបួនរយប៉ែតសិបប្រាំបួន”. To see how it works, let’s go through the tutorial.