I would like to know how I could add to a query, that it also see data from another row of the same table, I have the "USERS" TABLE with rows ID, USER, WEB
<?php
$resusuario=mysql_query("SELECT * FROM usuario WHERE usuario =
'".$fs['usuario']."' limit 1");
$fsu=mysql_fetch_array($resusuario);
$email_id = $fsu['email'];
$email = md5(strtolower(trim($email_id)));
$gravurl = "https://secure.gravatar.com/avatar/$email?d=&s=30";
<div class="col-md-2 col-md-push-0" style="padding: 10px;">
<img src="<?=$gravurl?>" border="0" alt="">
<a href="#" title="<?php echo
$fs['usuario'];?>"><?php echo $fs['usuario'];?></a>
</div>
What I want is that when you click on the username, take the WEB address assigned to it in the table. Thank you in advance for the collaboration.