ah cool hab das mit dem fehler auslesen nun mal gemacht der sagt
Warning: implode() [function.implode]: Bad arguments. in /homepages/35/d341643693/htdocs/test/booking.php on line 14....
Irgendwas mit hier
$gogos = isset($_POST['gogos']) ? implode (", ", $_POST['gogos']) : "";
$dj = isset($_POST['dj']) ? implode (", ", $_POST['dj']) : "";
$taenzerin = isset($_POST['taenzerin']) ? implode (", ", $_POST['taenzerin']) : "";
$percussion = isset($_POST['percussion']) ? implode (", ", $_POST['percussion']) : "";
$catering = isset($_POST['catering']) ? implode (", ", $_POST['catering']) : "";
$security = isset($_POST['security']) ? implode (", ", $_POST['security']) : "";
EDIT
bekomme insgesamt das hier
Warning: implode() [function.implode]: Bad arguments. in /homepages/35/d341643693/htdocs/test/booking.php on line 14
Warning: implode() [function.implode]: Bad arguments. in /homepages/35/d341643693/htdocs/test/booking.php on line 16
Warning: implode() [function.implode]: Bad arguments. in /homepages/35/d341643693/htdocs/test/booking.php on line 17
Warning: implode() [function.implode]: Bad arguments. in /homepages/35/d341643693/htdocs/test/booking.php on line 18
Warning: implode() [function.implode]: Bad arguments. in /homepages/35/d341643693/htdocs/test/booking.php on line 19
Notice: Undefined variable: MESSAGE_BODY in /homepages/35/d341643693/htdocs/test/booking.php on line 22
Warning: Cannot modify header information - headers already sent by (output started at /homepages/35/d341643693/htdocs/test/booking.php:14) in /homepages/35/d341643693/htdocs/test/booking.php on line 39
Bei diesem code:
<?php
error_reporting(E_ALL);
ini_set("display_errors", true);
if (isset($_POST['email']) && $_POST['email']<>'')
{
$ToEmail = 'veve@hotmail.com';
$EmailSubject = ' Booking';
$mailheader = "From: ".$_POST['email']."\r\n";
$mailheader .= "Reply-To: ".$_POST['email']."\r\n";
$mailheader .= "Content-type: text/html; charset=iso-8859-1\r\n";
$gogos = isset($_POST['gogos']) ? implode (", ", $_POST['gogos']) : "";
$dj = isset($_POST['dj']) ? implode (", ", $_POST['dj']) : "";
$taenzerin = isset($_POST['taenzerin']) ? implode (", ", $_POST['taenzerin']) : "";
$percussion = isset($_POST['percussion']) ? implode (", ", $_POST['percussion']) : "";
$catering = isset($_POST['catering']) ? implode (", ", $_POST['catering']) : "";
$security = isset($_POST['security']) ? implode (", ", $_POST['security']) : "";
$MESSAGE_BODY .= "Event Name: ".$_POST['event']."<br>";
$MESSAGE_BODY .= "Wann: ".$_POST['datum']."<br>";
$MESSAGE_BODY .= "Wo: ".$_POST['ort']."<br>";
$MESSAGE_BODY .= "DJ: $dj <br>";
$MESSAGE_BODY .= "Gogos: $gogos <br>";
$MESSAGE_BODY .= "Tänzerin: $taenzerin <br>";
$MESSAGE_BODY .= "Percussion: $percussion <br>";
$MESSAGE_BODY .= "Catering: $catering <br>";
$MESSAGE_BODY .= "Security: $security <br><br>";
$MESSAGE_BODY .= "Name: ".$_POST['name']."<br>";
$MESSAGE_BODY .= "Adresse: ".$_POST['adresse']."<br>";
$MESSAGE_BODY .= "Telefon: ".$_POST['telefon']."<br>";
$MESSAGE_BODY .= "Email: ".$_POST['email']."<br>";
$MESSAGE_BODY .= "Nachricht: ".nl2br($_POST['comment'])."<br>";
mail($ToEmail, $EmailSubject, $MESSAGE_BODY, $mailheader) or die ("Failure");
header( 'Location: http://www.oki-events.de/booking_send.htm' ) ;
exit();
}
?>
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0" background="hp_images/25.gif">
<form action="<?php echo $_SERVER['SCRIPT_NAME']; ?>" method="post">
<center><font color="#FFFFFF" face="verdana" style="font-size: 10pt">TEXT TEXT TEXT<br>
<br></font></center>
<font color="#FFFFFF" face="verdana" style="font-size: 12pt"><b></b></color>
<div align="center">
<table width="570" border="0" cellspacing="2" cellpadding="0">
<tr>
<td width="99%" class="bodytext" colspan="2">
<font color="#FFFFFF" face="verdana" style="font-size: 11pt; font-weight:700">
Event Information</font></td>
</tr>
<tr>
<td width="20%" class="bodytext">
<font color="#FFFFFF" face="verdana" style="font-size: 10pt">Event Name</font></td>
<td width="79%"><font face="verdana" color="#FFFFFF">
<input name="event" type="text" id="event" size="65"></font></td>
</tr>
<tr>
<td width="20%" class="bodytext">
<font color="#FFFFFF" face="verdana" style="font-size: 10pt">Wann / Wo</font></td>
<td width="79%"><font face="verdana" color="#FFFFFF">
<input name="datum" type="text" id="datum" size="18"> </font>
<font face="verdana" color="#FFFFFF" style="font-size: 12pt">
<input name="ort" type="text" id="ort" size="42"></font></td>
</tr>
<tr>
</tr>
<tr>
<td class="bodytext" valign="top"><font color="#FFFFFF" face="verdana" style="font-size: 10pt">
Service</font></td>
<td><font face="verdana" color="#FFFFFF">
<input type="checkbox" name="gogos" value="Ja"><font size="2">Gogos</font>
<input type="checkbox" name="taenzerin" value="Ja"><font size="2">Tänzerin</font>
<input type="checkbox" name="percussion" value="Ja"><font size="2">Percussion</font>
<input type="checkbox" name="catering" value="Ja"><font size="2">Catering</font>
<input type="checkbox" name="security" value="Ja"><font size="2">Security</font>
</td>
</tr>
<tr>
</tr>
<tr>
<td class="bodytext" valign="top"><font color="#FFFFFF" face="verdana" style="font-size: 10pt">
Deejays</font></td>
<td><font face="verdana" color="#FFFFFF">
<input type="checkbox" name="dj[]" value="DJ Alper Usluer"><font size="2">DJ Alper Usluer</font>
<input type="checkbox" name="dj[]" value="DJ Koray Özdem"><font size="2">DJ Koray Özdem</font>
<input type="checkbox" name="dj[]" value="DJ Muratt Seker"><font size="2">DJ Muratt Seker</font><br>
<input type="checkbox" name="dj[]" value="DJ Mury"><font size="2">DJ Mury</font>
<input type="checkbox" name="dj[]" value="DJ Yunus"><font size="2">DJ Yunus</font>
<input type="checkbox" name="dj[]" value="DJ Alee C"><font size="2">DJ Alee C</font>
<input type="checkbox" name="dj[]" value="DJ Firat Celik"><font size="2">DJ Firat Celik</font><br>
<input type="checkbox" name="dj[]" value="DJ Kelyjay"><font size="2">DJ Kelyjay</font>
<input type="checkbox" name="dj[]" value="DJ Ilker"><font size="2">DJ Ilker</font>
<input type="checkbox" name="dj[]" value="DJ Erhan"><font size="2">DJ Erhan</font>
<input type="checkbox" name="dj[]" value="DJ Ari-f"><font size="2">DJ Ari-f </font><br>
<input type="checkbox" name="dj[]" value="DJ N-Cee"><font size="2">DJ N-Cee</font>
<input type="checkbox" name="dj[]" value="DJ Murat Hendes"><font size="2">DJ Murat Hendes</font>
</font></td>
</tr>
<tr>
<td width="99%" class="bodytext" colspan="2">
</td>
</tr>
<tr>
<td width="99%" class="bodytext" colspan="2">
<font color="#FFFFFF" face="verdana" style="font-size: 11pt; font-weight:700">
Kontakt Information</font></td>
</tr>
<tr>
<td width="20%" class="bodytext">
<font color="#FFFFFF" face="verdana" style="font-size: 10pt">Name</font></td>
<td width="79%"><font face="verdana" color="#FFFFFF">
<input name="name" type="text" id="name" size="67"></font></td>
</tr>
<tr>
<td width="20%" class="bodytext">
<font color="#FFFFFF" face="verdana" style="font-size: 10pt">Adresse</font></td>
<td width="79%"><font face="verdana" color="#FFFFFF">
<input name="adresse" type="text" id="adresse" size="67"></font></td>
</tr>
<tr>
<td width="20%" class="bodytext">
<font color="#FFFFFF" face="verdana" style="font-size: 10pt">Telefon</font></td>
<td width="79%"><font face="verdana" color="#FFFFFF">
<input name="telefon" type="text" id="telefon" size="67"></font></td>
</tr>
<tr>
<td class="bodytext"><font color="#FFFFFF" face="verdana" style="font-size: 10pt">
E-Mail</font></td>
<td><font face="verdana" color="#FFFFFF">
<input name="email" type="text" id="email" size="67"></font></td>
</tr>
<tr>
<td class="bodytext" valign="top">
<font color="#FFFFFF" face="verdana" style="font-size: 10pt">Nachricht</font></td>
<td><font face="verdana" color="#FFFFFF">
<textarea name="comment" cols="51" rows="4" id="comment" class="bodytext"></textarea></font></td>
</tr>
<tr>
<td class="bodytext"> </td>
<td><font face="verdana" color="#FFFFFF">
<input type="submit" name="Submit" value="Senden"></font></td>
</tr>
</table>
</div>
</form>
Alles anzeigen