Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #7988

Re: Header and if statement

From Simon <bad@example.com>
Newsgroups comp.lang.php
Subject Re: Header and if statement
Date 2013-01-02 09:26 +0200
Message-ID <aki5oqFjohtU1@mid.individual.net> (permalink)
References <508e4026$1@news.synserver.de>

Show all headers | View raw


On 2012/10/29 10:36 AM, Bo Wisén wrote:

>
> if ($typ == 0) {
> header ("Location:page1.php");
> } else {
> header ("Location:page2.php");
> }

Where/how do you set the value $typ?
Is the code above inside a function?

Simon

Back to comp.lang.php | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Header and if statement Bo Wisén <bowisen@telia.com> - 2012-10-29 09:36 +0100
  Re: Header and if statement Denis McMahon <denismfmcmahon@gmail.com> - 2012-10-29 08:47 +0000
  Re: Header and if statement Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-10-29 14:54 +0100
  Re: Header and if statement Richard Yates <richard@yatesguitar.com> - 2012-12-26 09:29 -0800
    Re: Header and if statement "Peter H. Coffin" <hellsop@ninehells.com> - 2012-12-26 12:44 -0600
  Re: Header and if statement Simon <bad@example.com> - 2013-01-02 09:26 +0200

csiph-web