Article View: pl.comp.lang.javascript
Article #50159Re: Problem ze zmienną PHP w 'Alercie'
From: TornadoTN
Date: Sun, 20 Jun 2010 10:13
Date: Sun, 20 Jun 2010 10:13
19 lines
1492 bytes
1492 bytes
W dniu 2010-06-19 20:12, Renke pisze:
> Problem polega na tym, że wyświetla się alert bez danych z $komunikat
> ponieważ odwołanie jest do funkcji poniżej walidacji i komunikat jest
> pusty. Dopiero po przeładowaniu otrzymuję poprawny komunikat w alercie.
> Jak rozwiązać problem gdy formularz zostanie wypełniony poprawnie i
> alert nie będzie potrzebny ?
>
<?php
if (isset($komunikat) && $komunikat!='')
{
?>
Tutaj kod HTML/Javascript
<?php
}
?>
Pozdr
Tomek
Technical Details
Message-ID:
<hvkpph$2j5$1@mx1.internetia.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!news.nask.pl!news.nask.org.pl!news.internetia.pl!not-for-mailReferences:
<4c1d0896$0$19166$65785112@news.neostrada.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!news.nask.pl!news.nask.org.pl!news.internetia.pl!not-for-mail From: TornadoTN <tomek@dma.net.pl> Newsgroups: pl.comp.lang.javascript Subject: Re: Problem ze zmienną PHP w 'Alercie' Date: Sun, 20 Jun 2010 12:13:58 +0200 Organization: Netia S.A. Lines: 20 Message-ID: <hvkpph$2j5$1@mx1.internetia.pl> References: <4c1d0896$0$19166$65785112@news.neostrada.pl> NNTP-Posting-Host: tornado.tys86b.1000lecie.pl Mime-Version: 1.0 X-Trace: mx1.internetia.pl 1277028977 2661 195.177.67.195 (20 Jun 2010 10:16:17 GMT) X-Complaints-To: abuse@inetia.pl NNTP-Posting-Date: Sun, 20 Jun 2010 10:16:17 +0000 (UTC) In-Reply-To: <4c1d0896$0$19166$65785112@news.neostrada.pl> X-Tech-Contact: usenet@internetia.pl User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; pl; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5 X-Server-Info: http://www.internetia.pl/news/ Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit