<?php $input = "AHD"; echo str_pad($input, 7, "0", STR_PAD_RIGHT);
You have javascript disabled. You will not be able to edit any code.