RE: [PHP-DB] opening webpage From: Adv. Systems Design (asd_2000 <email protected>)
Date: 11/20/00

Actually, I digress... the header() did not work
because:

Warning: Cannot add header information - headers
already sent by (output started at
templates/header.php:3) in
/home/httpd/html/lesson/admin/add_lessons.php on line
41

Line 41 is the header() call...

Anyone have any other ideas as to how to jump to
another page programatically from within a
switch...case setup? All I am trying to do is submit a
form (on add_lessons.php) and goto a listing on
lessons.php within the same dir)

thanks

--- "Adv. Systems Design" <asd_2000 <email protected>> wrote:
> Thanks, that did the trick...
>
> Luis
>
> --- o.cook <email protected> wrote:
> > header("Location:
> > http://host.domain.tld/directory/page.ext");
> >
> > see http://www.php.net/manual/function.header.php
> >
> > Ollie
> >
> > > -----Original Message-----
> > > From: Adv. Systems Design
> > [mailto:asd_2000 <email protected>]
> > > Sent: 19 November 2000 17:13
> > > To: PHP List
> > > Subject: [PHP-DB] opening webpage
> > >
> > >
> > > Hello all:
> > >
> > > I was wondering how one would open (go to)
> another
> > web
> > > page programatically, say as a result of an
> > if-else
> > > statement. i.e.
> > >
> > > if (x==true) {
> > > goto http://pagex
> > > }else{
> > > goto http://pagey
> > > }
> > > Thanx
> > >
> > > Luis
> > >
> > >
> __________________________________________________
> > > Do You Yahoo!?
> > > Yahoo! Calendar - Get organized for the
> holidays!
> > > http://calendar.yahoo.com/
> > >
> > > --
> > > PHP Database Mailing List (http://www.php.net/)
> > > To unsubscribe, e-mail:
> > php-db-unsubscribe <email protected>
> > > For additional commands, e-mail:
> > php-db-help <email protected>
> > > To contact the list administrators, e-mail:
> > > php-list-admin <email protected>
> > >
> >
> > --
> > PHP Database Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail:
> > php-db-unsubscribe <email protected>
> > For additional commands, e-mail:
> > php-db-help <email protected>
> > To contact the list administrators, e-mail:
> > php-list-admin <email protected>
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Calendar - Get organized for the holidays!
> http://calendar.yahoo.com/
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail:
> php-db-unsubscribe <email protected>
> For additional commands, e-mail:
> php-db-help <email protected>
> To contact the list administrators, e-mail:
> php-list-admin <email protected>
>

__________________________________________________
Do You Yahoo!?
Yahoo! Calendar - Get organized for the holidays!
http://calendar.yahoo.com/

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe <email protected>
For additional commands, e-mail: php-db-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>