Re: [PHP] Increment alphabetical character (simple question)

2002-02-12 Thread Michael Sims
At 04:58 PM 2/12/2002 -0600, phantom wrote: >How do I get the ASCII value of a character increment it by one... >and convert back to a character. > >For example: > >I want to grab a char such as "C" and increment it to "D" ??? To answer your first question: "; //Outputs 'C' $letter = chr(or

[PHP] Increment alphabetical character (simple question)

2002-02-12 Thread phantom
How do I get the ASCII value of a character increment it by one... and convert back to a character. For example: I want to grab a char such as "C" and increment it to "D" ??? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php