Hi at all
I have a php page where I display mysql table datas
if the user call the page without one or more parameters I'ld want to
redirect it to another page
Therefore I wrote
if ($REQUEST_METHO D=="POST") {
$HTTP_STR=$HTTP _POST_VARS;
}else{
$HTTP_STR=$HTTP _GET_VARS;
}
while(list($chi ave,$valore)=ea ch($HTTP_STR))
{
}
if ($dbf=="")
{header("Locati on: http://www.pippo.es/");exit()}
But it do not work
Why please?
regards
I have a php page where I display mysql table datas
if the user call the page without one or more parameters I'ld want to
redirect it to another page
Therefore I wrote
if ($REQUEST_METHO D=="POST") {
$HTTP_STR=$HTTP _POST_VARS;
}else{
$HTTP_STR=$HTTP _GET_VARS;
}
while(list($chi ave,$valore)=ea ch($HTTP_STR))
{
}
if ($dbf=="")
{header("Locati on: http://www.pippo.es/");exit()}
But it do not work
Why please?
regards
Comment