<?php $id = 123456; $len = strlen($id); $input = "AHD"; $final_len = 6-$len; echo $final_len.">>".str_pad($input, $final_len, "0", STR_PAD_RIGHT).$id;
You have javascript disabled. You will not be able to edit any code.