So what i am doing is creating a pagination in one php file.
i'm using $_GET for this:
if ( $_GET["page"] === "3" ) echo 'href="#"';
else echo 'href=?page=' . $_GET["page"] + 1 . '"';
This code is used for making the side arrow's work
when i am on ?page=3 the script echo's href"#" like expected, but when i am on every other page the script echos
1"
I have checked the script a few times and don't see any error's.
I think i am just doing something stupid, but I really don't know what.
I hope you want to help me!