Hallo,
Ich habe eine kleines Problem mit nem Kontaktformular über mehrere Seiten und hoffe ihr könnt mir da weiterhelfen.
Diese folgende Tabelle wird von Seite 1 generiert und auf Seite 2 dargestellt. Hier mal ein kleiner Auszug aus von der 2. Seite:
<?php
foreach ($bezeichnung as $schluessel => $wert)
$bezeichnung[$schluessel] = htmlentities($wert);
foreach ($euro as $schluessel => $wert)
$euro[$schluessel] = htmlentities($wert);
$artikeltabelle = <<<EDS
<table border=0 cellspacing=0 width=400>
<tr>
<th class=bold width=10 align=left></th>
<th align=left><p class=price>Article</p></th>
<th class=price width=65 align=right><p class=price>Price </p></th>
<th class=bold width=10 align=left></th>
</tr>
<tr>
<th class=bold height=10 align=left style=background-image:url(../bilder/2px_line.gif); background-repeat:repeat-x></th>
<th class=bold height=10 align=left style=background-image:url(../bilder/2px_line.gif); background-repeat:repeat-x></th>
<th class=bold height=10 align=left style=background-image:url(../bilder/2px_line.gif); background-repeat:repeat-x></th>
<th class=bold height=10 align=left style=background-image:url(../bilder/2px_line.gif); background-repeat:repeat-x></th>
</tr>
EDS;
foreach($bezeichnung as $nummer => $e_bezeichnung)
{
$artikeltabelle .= <<<EDS
<tr>
<td class=bold></td>
<td class=bold>$bezeichnung[$nummer]</td>
<td align=right>$euro[$nummer] €</td>
<td align=right></td>
</tr>
EDS;
}
$artikeltabelle .= "</table>";
?>
Die Tabelle wird dann auch ganz normal mit echo $artikeltabelle angezeigt. Jedoch will ich dann von dieser Seite dann das Mail erhalten. Dieses erscheint dann aber nicht in der Mail alle weiteren Angaben die von Seite 2 gemacht werden, werden mir übermittelt.
In der Send.php steht dann folgendes:
$company = $_POST['company'];
$name = $_POST['name'];
$adress = $_POST['adress'];
$zip_code = $_POST['zip_code'];
$city = $_POST['city'];
$country = $_POST['country'];
$phone = $_POST['phone'];
$fax = $_POST['fax'];
$email = $_POST['email'];
$message = $_POST['message'];
$artikeltabelle = $_POST['artikeltabelle'];
$Empfaenger = "nico.felix@web.de";
$Betreff = "Order to Xpose Print Ireland";
$Nachricht = "
<html>
<head>
<title>Xpose Print ::</title>
</head>
<body>
<table width="600" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="27" colspan="2" valign="top"><span class="titles">Order</span></td>
</tr>
<tr>
<td height="27" colspan="2" valign="top">$artikeltabelle</td>
</tr>
usw....
Also das Problem ist wie oben erwähnt, dass sich die Artikelltabelle nicht in der E-Mail anzeigt. Vielleicht wisst ihr an was das liegen kann. Hab schon mehrere Sachen probiert und auch gegoogelt aber nichts hat bis jetzt funktioniert.