I am trying to echo a hyperlink with variables but the result is that I cannot click the link, its just normal text.
For context, this is a field contained in a table's column generated from a mysql_fetch_assoc loop.
echo '<a href="users.php?cl='.$row['client'].'">'.get_row_val("users","id",$row['client']).'</a>' ;
Is just supposed to return the "user name".
This is what I get in html:
user name<a href="users.php?cl=58"></a>
This is what I am expecting to normally get:
<a href="users.php?cl=58">user name</a>
Any idea why this is happenning, is it a problem with the way I concatenate the strings and variables?
Thanks for your help.