Hi , I am new to the php.I am building an php pos application to learn php by doing. I want to generate a unique transaction id whenever any transactions like purchase order,purchase return,sales or sales return etc. But confused how to accomplise this.Is uniquid feature of php is sufficeint for this. I wanted to generate it in format like PO20130220001 ie. PO+date+3 or 4 digit number.