$enlace = $_SERVER['REQUEST_URL']; $cadena .= "<th><a href='$enlace?&orderby=$campo->name&asc'>". $campo->name ."</a></th>";