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

Load file in PHP
I have 2 files. The first is a PHP generated XML file that's dependent by 2 inputs. The second is a

LinkedList help
Ok so I just learned quickly about lists, so I have a not too hard project I think, but am having a

Material xxx does not exist in plant xxx
Dear All,

I am working for a steel project which is repetitive manufacturing.

HTML Email rec'd as Source Code
The code does create and send the email successfully. However, the message shows as html code and n

Problem with Subscreen
Dear Experts ,
I am facing a problem with the subscreens. My senario is as follows :

How to find OS bit version
How can I tell the person browsing my site is running 32, or 64 bit operating system?

Session
I am having a little trouble with a session. Not sure if it is my browser or what. I know I do not

Shuffle between users ??
I have multiple $users in table. I need to send them $message.

I need to send the next messag

Save username into DB
OkaY so I got my blog to actually save the posts and whatever, all I need now is for it to keep the

Need help with unexpected T-STRING error
I'm a newbie and I'm still learning PHP. However this error has me stumped. I've googled, searched t

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