In my footer I have

```
header("Location: galleries.php");

```

Is it possible to use php code (or something) to just go 1 page back instead of using a specific page like `galleries.php`?

Using something like `history.go(-1)` won't work since the `header("Location: galleries.php");` is in PHP.