plz could u help me to output this
header("location:showmydetails?username=<?php echo $username;?>");
the syntax is driving me crazy
ok i tried to change it to <form action="showmydetails.php?username=<?php $username?>" method="post">
but the page didnt recognize it!!
header is a function call, and as such you don't need the <?php and ?> tags. You need to concatenate variables into strings like:
header("location:showmydetails?username=" . $username);