This is an introductory article on PHP programming. Some of main topics covered include: Variables, Strings, Arrays, Comparison Operators, and Control Structures.
This tutorial provides some technical background on a LAMP server, database design and normalization of a MySQL
database, and an approach to developing admin screens for a fictional game site, as a learn-by-example application, illustrating
the issues a developer should consider when designing and coding a php/MySQL database driven website.
This is a solid introduction to using PHP's build-in directory handling functions. It includes code examples used to create an array of filenames based on a directory structure, and filtering out different types of files.
A collection of 14 tips on PHP string literals, operations and conversaion. Clear explanations and tutorial exercises are provided on single-quoted strings, double-quoted strings, string elements, concatenation, converting values to strings, converting strings to values: What Are the Special Characters You Need to Escape in Quoted Stings?
Can You Specify the "new line" Character in Single-Quoted Strings?
How Many Escape Sequences Are Recognized in Quoted Strings?
How Many Escape Sequences Are Recognized in Double-Quoted Strings?
How To Include Variables in Double-Quoted Strings?
How Many Ways to Include Variables in Double-Quoted Strings?
How Many Ways to Include Array Elements in Double-Quoted Strings?
How To Access a Specific Character in a String?
How To Assigning a New Character in a String?
How To Concatenate Two Strings Together?
......
This article introduces you to php includes. Lets say you have a Web site with 10 or so pages, and you want to update the navigation. You don’t want the hassle of updating every single page. That’s where php includes come in handy.
In this tutorial you will learn about PHP - Introduction to PHP, What you should already know? What’s PHP? What’s the difference between PHP and HTML? When to use PHP? What makes PHP a choice among the other scripting languages?
This elementary tutorial describes how to search an array to see if a specific item lies in it. In the tutorial, we create an array of strings such as "Apple" and "Orange" then show you how to use PHP to find out that "Apple" is in the array but "Monkey" is not. This can be useful in PHP programs if you have a collection of items (perhaps that a user has entered) and you want to know if a certain item is in that collection.