title: How to create random code with some fixed prefix in php?
body: <p>how to generate a unique Code which will be a 8 Digit code code 1-2 Represent fixed (ZX), Code 3-8 are auto generation of Code. Ex: “ZX23456X”. ?</p>
  
  <p>The format of the unique Code should be as follows:
  1) one alphabet.
  2) followed by 5 numeric values
  3) followed by first two should be fixed "ZX" </p>