|
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.
Navigation:
[Reply to this message]
|