Hallo,
einfach:
<?
if($section==false && $page==false) {
header("Location: http://localhost/index.php?section=news&page=1");
exit;
}
?>
hallo ihr zusammen!
hab da mal ne frage!
hab folgende URL:
http://localhost/index.php
ich sag mal so, ist ja standard, wenn man die seie aufruft !http://localhost/index.php?section=news&page=1
aber wie kann ich machen, wenn man die url aufruft, wenn eigentlich 1 als url ist, das er das automatisch in 2 ändert !
also ?section=news&page=1
anhängt !!kann mir da jemand helpen!?
danke