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,367
    Likes Received:
    386
    Trophy Points:
    83
    Increment the number part and append to the alpha part
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice