You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
<?php
|
|
$cha = 'a';
|
|
$next_cha = ++$cha;
|
|
//The following if condition prevent you to go beyond 'z' or 'Z' and will reset to 'a' or 'A'.
|
|
if (strlen($next_cha) > 1)
|
|
{
|
|
$next_cha = $next_cha[0];
|
|
}
|
|
echo $next_cha."\n";
|
|
?>
|