I have the following button
<a href='?area=ref&acao=curtir&noticia=$noticia->id&perfil=$user'>Curtir </a>";
that calls the function that is in the action page that I like the related article, but it happens that when you click the button it redirects to the page action.php and returns to page of news like I do just to perform the action that is in the page action.php without redirecting? someone has an idea