Skip to Content
PHP for the Web: Visual QuickStart Guide, Fourth Edition
book

PHP for the Web: Visual QuickStart Guide, Fourth Edition

by Larry Ullman
March 2011
Beginner
528 pages
12h 37m
English
Peachpit Press
Content preview from PHP for the Web: Visual QuickStart Guide, Fourth Edition

5. Using Strings

As introduced in Chapter 2, “Variables,” a second category of variables used by PHP is strings—a collection of characters enclosed within either single or double quotation marks. A string variable may consist of a single letter, a word, a sentence, a paragraph, HTML code, or even a jumble of nonsensical letters, numbers, and symbols (which might represent a password). Strings may be the most common variable type used in PHP.

This chapter covers PHP’s most basic built-in functions and operators for manipulating ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

PHP for the Web: Visual QuickStart Guide, Third Edition

PHP for the Web: Visual QuickStart Guide, Third Edition

Larry Ullman

Publisher Resources

ISBN: 9780132575140Purchase book