">
<?php$var = "YELLOW";$var1 = $var[5];echo "$var1";?>
PHP treats strings in the same fashion as arrays, allowing for specific characters to be accessed via array offset notation.
Previous Question Next Question
Your comments will be displayed only after manual approval.