prova così

Codice PHP:

 $logform = <<<EOT
<div id='identification'> 
            <a href='?page=reg' class='inIdentifyLink'> 
                <?php echo $txt_login ?> 
            </a> 
            <a href='?page=login' class='inIdentifyLink'> 
                <?php echo $txt_registrati ?> 
            </a> 
        </div> 
EOT;
comunque se metti del php in una stringa poi questo non ti viene processato