Re: what 's wrong of the syntax



You are not telling it to output that is why its not working.

try

<html>
<?php
$code="0001";
$name="hello";
printf ('<a herf="../%s/profile.htm" title=%s target="_top">%s</a>',
$code, $name, $name);
?>
</html>

.