i have some strange phenomenon. i have a variable in that is some text:
rename something;
mkdir a folder;
$msg = "this text should be displayed";
$mail to...
in the html i have:
<?php if (!isset($msg)):?>
some inputfileds
<?php endif; ?>
the phenomenon is that everything works fine except $msg
that wont be displayed. the curious about that is, that it has worked before on another page. the variable will be identified as it because the inputfields will be hidden after pressing submit and $errors == 0
. there is also working the rename function, mkdir, and the mail. if i change $msg =
into echo
it will echo out the message how it should do. so i really have no clue whats might be wrong to this?
if there is someone who could tell what to do to solve this i really would appreciate. thanks a lot.