![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 32 Pomógł: 0 Dołączył: 27.06.2013 Ostrzeżenie: (0%) ![]() ![]() |
Witajce
Mam problem z formularzem,a mianowicie z polskimi znakami , kiedy dostaje formularz na swojego maila nie ma polskich liter. Mam taki kod i dodałem header ale dalej to samo , możecie pomóc ? Kod $offer_id = (is_numeric($_GET['rezerwacja']) ? $_GET['rezerwacja'] : 0); $oferta=mysql_fetch_array(mysql_query("SELECT * FROM offer WHERE ID=".$offer_id)); $address = $oferta["FORMULARZ"]; //$address = "xxx@a.com.pl"; //$address = ($_POST['offer_formularz']); $mail->AddAddress($address, "REZERWACJA "); $mail->Header = "Content-type: text/html; charset=ISO-8859-2" . "\r\n"; $mail->Subject = "REZEWRACJA // ".$_POST['rez_name']." // ".$_POST['rez_imie']; $mail->AltBody = "To view the message, please use an HTML compatible email viewer!"; // optional, comment out and test $mail->MsgHTML(' Mój tekst wiadomości html ' ); if(!$mail->Send()) { echo "Bł?d: " . $mail->ErrorInfo; } else { echo "<center><b>Zgłoszenie przyjęte. Niebawem potwierdzimy rezerwację.</B><br/></center>"; $ok=true; } Temat zamkniety dodałem Kod $mail->CharSet = 'ISO-8859-2'; zamiast wczesniejszego kodu i działa ![]() |
|
|
![]() ![]() |
![]() |
Aktualny czas: 21.08.2025 - 11:08 |