1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Auto-increment alphanumeric values in php

Discussion in 'PHP' started by rekha, Mar 24, 2010.

  1. rekha

    rekha New Member

    Joined:
    Jan 17, 2008
    Messages:
    83
    Likes Received:
    0
    Trophy Points:
    0
    Hi all,

    I am developing invoice template.Can anyone suggest me how to auto-increment invoice number which may be alphanumeric number like "aaaa123","awrewr11"...........
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,292
    Likes Received:
    365
    Trophy Points:
    83
    Increment the number part and append to the alpha part
     

Share This Page