Hallo Alex,
ich hab das Ganze vor Ewigkeiten mal so gemacht, um das Popup mit php zu füllen (ja, ich weiß, ist alter Käse, aber funktioniert ;)):
Möchten Sie Ihre Bestellung noch einmal einsehen? Klicken Sie <a href="#" onclick="showpopup();">hier</a>.
<script language="javascript" type="text/javascript">
<!--
function showpopup() {
msgWindow=window.open('','Bestellung','width=400,height=600,resizable=yes,scrollbars=yes');
msgWindow.document.open();
msgWindow.document.write('<html>');
msgWindow.document.write('<head>');
msgWindow.document.write('<title>Ihre Bestellung</title>');
msgWindow.document.write('<style type="text/css">');
msgWindow.document.write('<!--');
msgWindow.document.write('body{font-family:verdana,arial,sans-serif;font-size:12px;background-color:#F2F3F5;}');
msgWindow.document.write('.button {background-color:#FFFFFF; width:140px; border:1px solid #98A3B5; font-size:11px; color:#000000; cursor:hand;cursor:pointer;}');
msgWindow.document.write('-->');
msgWindow.document.write('</style>');
msgWindow.document.write('</head>');
msgWindow.document.write('<body>');
msgWindow.document.write('Sehr geehrter Herr Test,');
msgWindow.document.write('<br>');
msgWindow.document.write('Ihre Bestellung wurde erfolgreich ausgeführt.');
msgWindow.document.write('<br>');
msgWindow.document.write('Bestellung vom Dienstag, 18. Sept. 2007');
msgWindow.document.write('<br>');
msgWindow.document.write('Auftragsnummer: A72-180907-1616');
[uswusf...]
msgWindow.document.write('<br>');
msgWindow.document.write('<form action="#" method="post">');
msgWindow.document.write('<input type="button" class="button" value="Drucken" onClick="window.print();">');
msgWindow.document.write(' <input type="button" class="button" value="Fenster schließen" onClick="self.close();">');
msgWindow.document.write('</form>');
msgWindow.document.write('</body>');
msgWindow.document.write('</html>');
msgWindow.document.close();
}
//-->
</script>