2
I want to combine these:

header("Location: index.php?msg=1");
header("Location: index.php#go-hear");


To look something like this:
header("Location: index.php#go-hear?msg=1");

これは可能ですか?つまり、_GET を使用し、switch ステートメントを介してフィルター処理するケースを送信しています。しかし、アンカータグを使用してページをページの上部ではなく下部にリダイレクトすることも必要です。

4

1 に答える 1

3

試すheader("Location: index.php?msg=1#go-hear");

于 2013-06-03T03:23:28.100 に答える