1. Technology
You can opt-out at any time. Please refer to our privacy policy for contact information.

A sequence of letters and numbers

By

Definition: A string is a sequence of letters and numbers used in PHP programming. A string is not a number, and has no numeric value to the program, although it can contain numbers. A string can be represented by a variable. It can contain letters, numbers and symbols. A string in PHP might look like this:

<?php

$string1 = "This is a string";

?>

Related Video
Basic PHP Syntax
Using PHP With HTML

©2014 About.com. All rights reserved.