PHP 5 for Dummies Free Open Book

PHP 5 for Dummies

Previous PageNext Page
Appendix B
Useful PHP Built-in Functions
P
HP is as powerful as it is because of its many functions. This Appendix
is a reference to the most useful functions.
Some of the functions are discussed at various places in the book; some are
not. If the function is discussed in the book, its definition includes a chapter
reference where a more complete description can be found.
Array Functions
This section describes built-in functions that work with arrays.
array
Creates a new array. (See Chapter 6.)
Format:
$array = array(key=>value,key=>value,key=>value,...);
array_count_values
Creates an array that contains a count of the values in the original array.
Format:
$array_out = array_count_values($orig_array);
For example, suppose that 
$orig_array
contained the following:
$orig_array[a] = John
$orig_array[b] = Mary
$orig_array[c] = John
$orig-Array[d] = Jose
Then 
$array_out
would contain the following:
$array[John] = 2
$array[Mary} = 1
$array[Jose] = 1
Previous PageNext Page


     Main Menu
PHP 5 for Dummies
Table of Contents
Introduction
Part I: Say Hello to the PHP Scripting Language
Part II: Variables and Data
Part III: Basic PHP Programming
Part IV: Common PHP Applications
Part V: The Part of Tens
Part VI: Appendixes
My Web Site - Page 348
My Web Site - Page 349
Appendix A: Installing PHP
Appendix B: Useful PHP Built-in Functions
Array Functions
Date and Time Functions
File System Functions
HTTP and Mail Functions
Mathematical Functions
PHP Options and Information Functions
String Functions
Variable Functions
Index
Team DDU


More Books
PHP Hacks
Processing Xml With Java - A Guide To Sax, Dom, Jdom, Jaxp, And Trax
The Koran (Holy Qur'an)
Macromedia Flash 8 Bible
Search Engine Optimization for Dummies
YouTube Traffic
PHP 5 for Dummies
Harry Potter and The Chamber of Secrets
Harry Potter and the Sorcerer's Stone
The Pilgrim's Progress
Wireless Hacks
Flash Hacks. 100 Industrial-Strength Tips & Tools
PayPal Hacks. 100 Industrial-Strength Tips and Tools
Amazon Hacks
Pdf Hacks
The Da Vinci Code
Google Hacks
The Holy Bible
Windows XP For Dummies
Harry Potter and the Half-Blood Prince
Seo Book
Upgrading and Repairing Networks
Macromedia Dreamweaver 8 UNLEASHED
Windows XP Annoyances
Windows XP Hacks
Microsoft Windows XP Power Toolkit
Teach Yourself MS Office In 24Hours
iPod & iTunes Missing Manual
PC Hacks 100 Industrial-Strength Tips and Tools
PC Overclocking, Optimization, and Tuning - 2th Edition
PC Hardware In A Nutshell 3rd Edition
PC Hardware in a Nutshell, 2nd Edition
Upgrading and Repairing PCs
Google for Dummies
MySQL Cookbook
Teach Yourself Macromedia Flash 8 In 24 Hours
PHP CookBook
Sams Teach Yourself JavaScript in 24 Hours
PHP5 Manual
Free Games Paper Airplanes
500 Juegos Gratis 500 Giochi Gratis 500 Jeux Gratuits 500 Jogos Gratis 500 Kostenlose Spiele