<?php
echo'
<span>
<a href="adm_materias.php?lg='.$lg.'&sec='.$sec.'&form=basico&opcao=altera&cod='.$cod.'" target="conteudo">
B&aacute;sico
</a>
</span>

 | 

<span>
<a href="index.php?lg='.$lg.'&sec='.$sec.'&form=editor&opcao=altera&cod='.$cod.'#basico">
Editor
</a>
</span>'; 
?>