I'm new to PHP and am trying to generate a url dynamcially from a database query. Here is my php code:
<A HREF="test.php3?author=<?php printf( mysql_result($result, $i, 'auth'));?>
&group=<?php printf( mysql_result($result, $i, 'group_title'));?>
&title=<?php printf( mysql_result($result, $i, 'paper_title'));
printf("\"#");
printf( mysql_result($result, $i, 'rowid'));
printf("target=topFrame>");
printf( mysql_result($result, $i, 'rowid'));?></A>
All works fine, but the generate URL misses off the anchor (#rowid). Can someone point me in the right direction?
Thanks