your first question is yes you can do a <a href='blank.php'> or another way is by backslashing the " <a href=\"blank.php\">
and your second one. the printf function needs two arguments if you are printing a string or number or whatever, goto the php site and look at the printf() function it is a good help, but lets say you wanted to print a string $blah. well to print that with printf() you would do this printf("%s is blah",$blah); you see the first argument is how you want to format the text and the second one is the variable that is in %s place. you can also have multiple variables and multiple %s by separating them with commas.