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

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.

Printer configuration
Hi All,
Suppose one of the user deleted the printer settings unfortunatly ,then what is the pro

value not going in data base
hello friends....
i am having a working javascript....when i am selecting any

mysql query with single quotes in a variable
$sitedetails = "INSERT INTO vars (address, sitename, description, ownername, theme) VALUES ('$u

Users and Groups with PHP Classes
Hi,

I have setup what I hope to be a good working User class. Now I want to introduce group m

How would I do "Users not logged in since *** delete them"
I know how I would set this up, and delete the user roughly.
I'll create a table called "Use

Help: calling function
Hi,
Is it possible to call a php function on page close?
If yes, could you explain how and whe

Display a default image
I am trying to display generic image for items that don't have one, but I can't get it to display.

void* and sizeof()
Hi,

Using void* and sizeof is it possible to get the value of the object ?

I understan

Mysql query, two times?
Hello to all,

I'm new to php coding and i like it alot. I need help with some noob stuff.

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