Article View: pl.comp.lang.javascript
Article #39192Re: Kod php pod zmiennš js
From: JT
Date: Fri, 24 Mar 2006 14:03
Date: Fri, 24 Mar 2006 14:03
15 lines
1335 bytes
1335 bytes
On Fri, 24 Mar 2006 14:51:39 +0100, Sławek <slawekwrobel@poczta.fm> wrote: >Czy więc zapis jak poniżej jest poprawny? > >var zmienna="<?$zapytanie='select * from tabela'; >$wyslij=mysql_query($zapytanie);$pole=mysql_fetch_array($wyslij);echo$pole['nazwa_pola'];?>"; IMHO poprawny :) Dla kanonu dodalbym "php" po <?, ale dyskusje na ten temat juz pewnie przeczytales ;) Acha, dodaj spacje po "echo". -- Jacek Trojanski, trojacek-malpka-wp-kropka-pl
Technical Details
Message-ID:
<gvu7225v0eguj856bhfunvvsmmatguknl8@4ax.com>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.nask.pl!news.nask.org.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mailReferences:
<e00q6a$min$1@atlantis.news.tpi.pl> <e00tk4$ek5$1@nemesis.news.tpi.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.nask.pl!news.nask.org.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail From: JT <jacek@work.net> Newsgroups: pl.comp.lang.javascript Subject: Re: Kod php pod zmiennš js Date: Fri, 24 Mar 2006 15:03:34 +0100 Organization: tp.internet - http://www.tpi.pl/ Lines: 15 Message-ID: <gvu7225v0eguj856bhfunvvsmmatguknl8@4ax.com> References: <e00q6a$min$1@atlantis.news.tpi.pl> <e00tk4$ek5$1@nemesis.news.tpi.pl> NNTP-Posting-Host: host-ip90-64.crowley.pl Mime-Version: 1.0 X-Trace: nemesis.news.tpi.pl 1143209117 8997 85.128.64.90 (24 Mar 2006 14:05:17 GMT) X-Complaints-To: usenet@tpi.pl NNTP-Posting-Date: Fri, 24 Mar 2006 14:05:17 +0000 (UTC) X-Newsreader: Forte Free Agent 2.0/32.652 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit