I can't figure out why everytime i run an action on this fracking website (like adding a favourite to a certain table), it insists on redirecting to the location i want, but it keeps sending the parameters everywhere, like
favourites.php?action=add&item=thatone
even if i get it to go to frack.php, it still sends the question mark and the bits after.
anyone got a quick idea how to stop PHP from forwarding these parameters after running a script?
yeah, i admit it, i'm doing it in Dreamweaver. it's redirect code is
and
favourites.php?action=add&item=thatone
even if i get it to go to frack.php, it still sends the question mark and the bits after.
anyone got a quick idea how to stop PHP from forwarding these parameters after running a script?
yeah, i admit it, i'm doing it in Dreamweaver. it's redirect code is
PHP:
$insertGoTo = "/favourites/";
and
PHP:
header(sprintf("Location: %s", $insertGoTo));