want to join us? register, it's easy | help

browse by tag: beginner tutorials

sort by

newest, oldest, most popular


category icon

An Introduction to the Art of Unit Testing in PHP

in PHP added by CalEvans, on 4/12/2007 PHPUnit beginner tutorials simpleTest testing

Testing is an essential aspect of developing in any programming language. If you don't test your source code then how can you verify it works as expected? Manual testing can only be performed irregularly and usually only in limited ways. The answer to testing source code regularly, and in depth, is to write automated tests which can be frequently executed. In PHP such tests are usually written using a unit testing framework, a framework which allows the source code of any application or library to be tested as isolated units of functionality such as a single class or method. As unit testing has gained popularity, it has become a standard practice in PHP with libraries and frameworks such as Swiftmailer, the Zend Framework and Symfony all requiring unit test coverage of their source code.

comment save report
category icon

An Introduction to Arrays

in PHP added by goodphptutorials, on 3/12/2005 arrays beginner tutorials

Arrays can most easilly be described as an ordered list. An array is a list of scalar data

comment save report
category icon

Introduction to Including Files in PHP

in PHP added by goodphptutorials, on 5/12/2005 basic beginner beginner tutorials include include files

This tutorial is not written to read or write to other files. It is simply written to show new users how to include files properly

comment save report
category icon

Smarty Template Engine Crash Course

in PHP added by goodphptutorials, on 22/5/2008 beginner tutorials smarty template

For those of you who have used PHP template engines, the basic concepts of Smarty should look quite familiar. In your PHP application you assign variables for use in the template, then you display it.

comment save report
category icon

PHP Cheat Sheet

in PHP added by goodphptutorials, on 6/1/2006 beginner tutorials cheat sheet php reference

The PHP cheat sheet is designed to be printed on an A4 sheet of paper and live by a developers desk, to make life a bit easier.

comment save report
category icon

Cell Phones and $_SERVER Array

in PHP added by goodphptutorials, on 28/4/2006 beginner tutorials

Learn about the valuable $_SERVER array and how to send different output to users visiting your site on a Cell Phone!

comment save report
category icon

PHP multi-dimensional arrays

in PHP added by mig35, on 29/9/2007 arrays beginner tutorials multi-dimensional arrays

Array is most often used as a list of indexes and values. However, an array can also be used for storing key-value pair and each value could in tern be an another array as well. In such a way you can create two-dimensional or even three-dimensional arrays. In this tutorial, I attempt to explain how and when we use arrays.

comment save report
category icon

Escaping PHP

in PHP added by goodphptutorials, on 2/12/2005 basics beginner tutorials escape escape php

Most new PHP users won't know how to use one of PHP's most useful attributes - you can return to HTML at any time

comment save report
category icon

Building a Comments Script

in PHP added by bs0d, on 14/12/2007 beginner tutorials comments mysql

This tutorial will guide you through the process of building a comments script with PHP. The comments script will use a mySQL database to store and retrieve information. Its not too advanced, but additional features can easily be added, such as a delete feature and implementing usernames

comment save report
category icon

Error Handling: Stepping beyond True/False Results

in PHP added by goodphptutorials, on 12/1/2006 beginner tutorials error error handling exceptions warning

Proper error handling is a struggle for most software engineers, myself included. There is no fun in error handling, no logic puzzles to solve. Most of us don?t add any kind of error handling to our code until we run into a problem.

comment save report
category icon

Introduction to PHP & MySQL

in PHP added by goodphptutorials, on 25/3/2006 beginner tutorials

What is PHP and MySQL and is it for me?

comment save report
category icon

Beginners PHP Part 3

in PHP added by Slipszenko, on 27/11/2007 beginner tutorials general

The last in the series of tutorials for absolute beginners to the PHP language

comment save report
category icon

PHP Basics 1

in PHP added by goodphptutorials, on 5/4/2006 beginner tutorials

Learn how to Output, Assign and Use Variables, Comment Your Code, and the Use of Special Characters.

comment save report
category icon

Creating a Custom RSS Feed using PHP and MySQL

in PHP added by goodphptutorials, on 27/1/2006 beginner tutorials

This tutorials give a great intro to RSS feeds and demonstrates in full how to create your own feed from scratch using PHP and MySQL

comment save report
category icon

PHP Basics 2

in PHP added by goodphptutorials, on 5/4/2006 beginner tutorials

Learn about Data Types, Casting, Constants, Math Operators, & Math Functions.

comment save report
category icon

Introduction to regular expressions (#1): General Mechanics

in PHP added by goodphptutorials, on 3/12/2005 beginner tutorials regex regular expressions

Regular expressions were created by an American mathematician named Stephen Kleene

comment save report
category icon

Top 21 PHP Programming Mistakes - Part 2: Seven Serious Mistakes

in PHP added by goodphptutorials, on 19/12/2005 beginner tutorials error error handling mistakes programming

In this three part article series, a list of 21 PHP programming mistakes are presented, ranging in severity from non-critical down to those that can break the farm. Solutions, suggestions and/or comments on how to solve and prevent these errors are then offered.

comment save report
category icon

Using Search Engine Friendly URLs for your Dynamic Pages

in PHP added by clearnetwork, on 29/7/2008 beginner tutorials mod rewrite seo

"Search Engine Friendly URLs" or "User Friendly URLs" are a much better way of constructing your URLs for dynamic pages. In this article I will discuss some basic ways of doing this, with a little help from mod_rewrite.

comment save report
category icon

RSS Parsing using Pear

in PHP added by goodphptutorials, on 13/5/2006 beginner tutorials rss

This tutorial will show you how to use Pear (PHP Extension and Application Repository) to parse an RSS feed and display it on your site.

comment save report
category icon

Setup a quick Yahoo Search page within a few minutes!

in PHP added by finalwebsites, on 18/11/2007 Zend beginner tutorials framework php5

Nice tutorial on using the Yahoo search web service with the classes from the Zend framework.

comment save report
category icon

PHP Basics 3

in PHP added by goodphptutorials, on 8/4/2006 beginner tutorials

Learn about If, Else If, and Else Statements, Comparison Operators, and Logical Operators.

comment save report
category icon

How to: PHP Sessions

in PHP added by mig35, on 23/9/2007 beginner tutorials session

Learn what sessions are and how to create, retrieve and delete sessions in PHP

comment save report
category icon

Welcome to Cookies

in PHP added by charliepage, on 18/2/2008 beginner tutorials cookies

Cookies are just a basic aspect of PHP, but can be used in so many things. From logging in and out a user on your website to keeping the name of the skin they use on your website. Below I will explain how to set (add) a cookie, delete one and then display/check one. I will first show the PHP code and then explain it.

comment save report
category icon

PHP Basics 5

in PHP added by goodphptutorials, on 12/4/2006 beginner tutorials

Learn how to write your own Functions with or without Arguments, and have an Understanding of Scope, and learn ways to Get Around it.

comment save report
category icon

How To: Code Your First Web App (Part 2)

in PHP added by goodphptutorials, on 23/8/2007 beginner tutorials database framework mysql user

In Part 1 of How To: Code Your First Web App, I covered the basics of setting up a MySQL database, connecting to it with PHP and then I introduced a few functions to create and manage users. At the end, I briefly went into setting up the header file which will be used with every file created from here on out. The next step is creating the main files that actually do things.

comment save report