Reply to Re: using this IF to forward to page?

Your name:

Reply:


Posted by paul814 on 11/20/07 21:07

>
> A call to header() must be made before ANY output to the browser. This
> includes your <html> tag, any white space - anything.
>
> As soon as you send even one byte - no matter what's in that byte - to
> the browser, the web server sends the headers. It is now too late for
> your header() call.
>
> You can keep the <html> tag - but it must be *after* your PHP code which
> calls header().
>
> And thanks for not top posting :-)
>
> --
> ==================
> Remove the "x" from my email address
> Jerry Stuckle
> JDS Computer Training Corp.
> jstuck...@attglobal.net
> ==================

OK I understand....so I can have my php code first and it does not
have to be wrapped in HTML tags, OK I thought it had to be wrapped in
html tags.

What if I wanted to make the IF multi-dimensional, is it done the
same way? say I want to say something like...
if($selected_radio == 0) AND if a specific option group item is
selected, then goto this specific page...
$selected_radio is for radio buttons, what is the syntax for option
group box lists, like a list where you can drop down and pick your
State from a list of 50.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация