I know it must be very simple for php programmers out there, but... I need help.
These are the tabs inside the page: TABS.
<a class="active" href="?id=1&page=1">mine</a>
<a class="active" href="?id=1&page=2">lage</a>
(and so on)
What is the php statement for capturing or getting the current URL address to replace the "id" part? For example:
I'm guessing this php statement: echo "http://" . $SERVER['HTTP_HOST'] . $SERVER['REQUEST_URI'];
The concept what I want is:
<a class="active" href="$SERVER['REQUEST_URI'];&page=1">milese</a>
<a class="active" href="$SERVER['REQUEST_URI'];&=1&page=2">lane</a>
Need the replacement part for the current URL of a page but I'm keeping the &page=# part as a manual code.
Thanks much!