rh71 No Lifer Aug 28, 2001 52,844 1,049 126 May 5, 2004 #1 what's the PHP syntax to concatenate an "a" in front of order number within the line: $ordernum = mt_rand(1050, 99999); so that ordernum will be something like: a4521
what's the PHP syntax to concatenate an "a" in front of order number within the line: $ordernum = mt_rand(1050, 99999); so that ordernum will be something like: a4521
J Jzero Lifer Oct 10, 1999 18,834 1 0 May 5, 2004 #4 $ordernum = 'a' . mt_rand(1050, 99999); I think that should do you.