SORU
22 EKİM 2010, Cuma


New line tarafından patlayabilir PHP string

Basit, değil mi? Peki, böyle olmuyor :-\

$skuList = explode('\n\r', $_POST['skuList']);

CEVAP
22 EKİM 2010, Cuma


"\n\r" (çift tırnak) veya "\n" sadece deneyin.

Eğer ki eminsen değil, önce bir str_replace yerine patlayabilir Çalıştır "\n\r" "\n".

Bunu Paylaş:
  • Google+
  • E-Posta
Etiketler:
Php

YORUMLAR

SPONSOR VİDEO

Rastgele Yazarlar

  • booba1234

    booba1234

    22 Temmuz 2006
  • esnathesinger

    esnathesinge

    6 NİSAN 2009
  • hans peder sahl

    hans peder s

    22 Temmuz 2009