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

List/Menu Box
On an edit page when you want something to select what a user has previously selected from the datab

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.

Generate PDF
Hi guys,

I would like to know if there is a way to generate pdf when clicking on a link. In f

Email with Attachments in PHP
Hi Friends

How to send email in PHP with attachment.
I know simple mail can be sent with

PHP Array quick help
I need

$_SESSION{'username'} to be like this:


if $_SESSION['username'] = "gay

Strange array issue, never happened before.
mysql_fetch_array returns 1 array per call. Generally that's why it is inserted into a while statem

login from external site
Hi my new experience begins, Now what i am trying to do is i make three pages, login.php logout.php

cyrillic string conversion question
Hello,

First time here...

I would like to know if there is a way to convert a

Can php detect connection speed and thereafter swap out elements?
No code to post, lads, yet. Just looking for a yay or nay at this stage:

Can a php script be

getting rid of quotes in strings
sick of trying to deal with them in multiple ways (entering in and taking from database, echoing, ec

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