I don't get the question. PHP can print out any html text, so: echo '<a href="mysite.com">anchor text</a>'; is the same as writing html: <a href="mysite.com">anchor text</a> if you need some variable to put in you could define the variables (that could come from somewhere): $myurl='myurl.com'; $anchortext='anchor text'; and then write: echo '<a href="'.$myurl.'">'.$anchortext.'</a>';
oh... this is an htaccess matter, you should change htaccess to do that something like this: RewriteEngine On RewriteRule ^category/([a-zA-Z_0-9\-]+)$ show.php?category=$1