php redirecting


Posted on 16th Feb 2014 07:03 pm by admin

i wont open a new thread but i have a question about redirecting....
i wonder why my code doesnt redirect me...

.......
foreach ($_POST as $key => $value)
{
if ($req == '1')
{
if ($value == '')
{header("Location: http://www.mypage.com");}
}
...

No comments posted yet

Your Answer:

Login to answer
120 Like 36 Dislike
Previous forums Next forums
Other forums

Create comparison matrix?
I want to create a comparison script for forum software and was wondering is there any tutorial or b

Working with Global Variables
hi, I'm not really sure why the following code is returning a "Call to a member function getBan

path to include folder
Hi everyone,

When I'm testing locally, I have to add the name of the site folder as part of t

Request.UrlReferrer
I need to make it so that a page can only be loaded when a button is clicked on a specific page. I d

Array help
Hello i got this code to fetch data from database but it is not working it displays
7
Array

what does this mean? +=
is anyone able to explain what this code is saying?

i had it written for me awhile back and n

output_buffering so rewrite
I'm planning to rewrite some of my scripts so they don't have to use output buffering to accomplish

I need some help with the IF command...
I have a large number of images in one section of my website with the .jpg format. I'm adding a bun

Form a inline view based on the results of the previous query?
Hi Experts,
Can we form a inline view on the results of a previous query (another inline view)?

Probably Easy, Need help with Check Boxes in PHP Code
hello,

Thanks for looking this over and helping me out. My problem is I have a online store l

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash