Its looking for an integer not a string for the number of characters. I think..

Eg : number_pad($n, 4);


On Oct 13, 2011, at 9:53 PM, Jason Pruim wrote:

number_pad($n, "4");


Best,

Karl DeSaulniers
Design Drumm
http://designdrumm.com

Reply via email to