This is a php problem and not a java problem. Echo out the username where it should go


<param name="username" value="<?php echo $myusername; ?>">