Take info of current page when pressing a button
<p>I have a question for php. I am sure it has already answered but I can't express it to search.
So, I have a page which is actually a user profile. In this page there is a button.</p>

<p>When I press this key I want somehow to take the id of the user the the profile belongs.</p>

<p>I think in jsp you can do this with Request object, but I am not sure.</p>
