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

How to update this array?
I am saving a string that looks this: username1, username2, username3...
into a single cell in a

Somebody hacked into my site and changed coding >>> URGENT HELP NEEDED <<<
I am not that much into programming , but somebody is hacking to my site and injecting some kind of

Update Database
Hi All,


I have a problem with this:

Code: [Select]<?php
session_start();

trim function issues
Hi guys, total noob here...

So I've been tinkering around with a html and am using php to em

Beginner PHP code help
Hi I'm new to php but if someone could please read the question below and help it would be great.

Why is my row count 0?
Here's the MySQL query i'm running. It basically pulls data from 2 tables based on some data passed.

php/mysql problem
Hey all,

Problem: im trying to setup a shop where people can use a drop-down list to select t

need help about
i store the value of my select statement result to an array and stored it to a variable named $fname

Problem in back link
I have page where i have given javascript back link but when i click on it browser give a message

foreach help.
Hello all,

First time I'm attempting to use a foreach statement and was just wondering if my

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