$name_length = length($std_name); $blank = " "; printf($std_name. "%$name_length $blank".$dob."%10c $blank".$age. "\n"";