I am using printf to display some text and numbers.
having been through the professional PHP programmnig book, it suggests the following for what I am trying to acheive
printf(" %'.-18.18s%'.3d%s", $img_str, $num_images, "<br />");
printf(" %'.-18.18s%'.3d%s", $imgcnt_str, $num_hits, "<br />");
printf(" %'.-18.18s%'.3d%s", $imgcol_str, $collections, "<br />");
however it doesn't have the deisred results. I think this may be because of the sizes of the characters, I attatch an image of what I want to acheive, and it includes at the bottom the output of the code above.
Any ideas how I can achieve the style at the top of the pic? (without using a table)
regards
S