Jump to content

[SOLVED] Header problem!


budimir

Recommended Posts

Hi Guys,

 

I need help with header.

 

I have a page on which I'm deleting multiplie records using checkbox. So I'd like to use header to get back to that same page after deleting all the records that I have checked.

 

How do I use that?

 

header("Location:pregled.phpXXXXXX");

Link to comment
https://forums.phpfreaks.com/topic/88760-solved-header-problem/
Share on other sites

Probably be easier to use a redirect, if you are sending output to the browser.

 

Could you explain it a little bit...?

 

The situation is. I have deleted 4 records and now I would like to go back to page where I have deleted these 4 records and see the rest.

Link to comment
https://forums.phpfreaks.com/topic/88760-solved-header-problem/#findComment-454636
Share on other sites

OOPS!!! i am sorry use this header:

 

 header ('Location: #'); 

 

please let me know if that was helpful... ::)

 

I'm sorry. It didn't help. And the reason is: I'm using a form and calling delete_page.php. In delete_page.php I need to put header to take me back to page from which I called delete_page.php.

 

The header you posted here is directing to itself.

Link to comment
https://forums.phpfreaks.com/topic/88760-solved-header-problem/#findComment-454658
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.