Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.