Hello Brent,

Thursday, March 18, 2004, 1:16:34 PM, you wrote:

BC> Does anyone know how, or even if it is possible to increment a letter from the 
alphabet.

BC> But I need to do a $variable = "B";
BC> and then do a $variable++ that will result in
BC> $variable == "C"

Sure:

<?php
     $letter = "a";
     $letter++;
     echo $letter;
?>

You'll get "b" :)

-- 
Best regards,
 Richard Davey
 http://www.phpcommunity.org/wiki/296.html

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to