I'm a pretty new PHP programmer, and as I was trying to call the PHP http_redirect()
function, this error came up:
Fatal error: Call to undefined function http_redirect() in D:\xampp1.8.3\htdocs\Bank\create.php on line 28
I called it just like they did in the examples on the php site like this:
http_redirect("show.php", array("status" => "new"), true, HTTP_REDIRECT_PERM);
I'm more familiar with header()
, but I don't know how to send in an something similar to http_redirect()
's params (the array()
). I've tried doing header("Location: show.php?status=new")
but that doesn't work for me.
Could somebody help with this? Thanks.