Recently published tutorials
PHP File Upload Tutorial (part 1)
Uploading file is a common feature in today's PHP applications. You will first have to understand the basics of file uploading in PHP
PHP File Upload Tutorial (part 2)
Now let us take a close look at what we actually added to the file. First we use PHP function "scandir" to scan "uploads" folder
PHP for Office
PHPWord is a library written in pure PHP that provides a set of classes to write to and read from different document file formats
PHP functional programming for beginner
We were taught to implement algorithm using basic coding blocks such as loops and conditionals when we started programming
PHP Generator - processing dataset
imagine we need a function that returns a series of numbers from one to twenty. Typically we will solve it this way
PHP Generator - reading file content
Normal we will load the file content to memory and read its content using a loop
PHP + Google Map polygon shape creator
It is normally "localhost" unless your database server is sitting in a different server from your application server
PHP OOP simple poll system
Its purpose is to demonstrate how we can use OOP style coding to create such as system. It is not made for production environment
PHP pagination tutorial
So you do not have to worry about the data source (database) part. All of our concerns will be the pagination numbers as well as navigation
PHPUnit Beginner Part 1: Get Started
In this tutorial we will explain why we should write unit tests to cover the codes we are writing and the power of PHPUnit
PHPUnit Beginner Part 2: Data Provider
The same applies to tests. Which means we will need to write multiple tests to test the same function using different set of data
PHPUnit Beginner Part 3: Test Double
We can use test double to replace the calling class. Since a test double can be configured to return predefined results
Showing 145 to 156 of 192 results