🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.javascript
Article #39186

Kod php pod zmienną js

#39186
From: Sławek
Date: Fri, 24 Mar 2006 12:54
10 lines
1237 bytes
Witam Wszystkich

CZy wie ktoś może jak zmienić ponizszy kod aby pod zmienną javascript 
został podstawiony efekt wykonania kodu php i podstawione pod pole3 
wynik "echo $pole[nazwa_pola]":

pole3="<?$zapytanie='select * from tabela'; 
$wyslij=mysql_query($zapytanie);$pole=mysql_fetch_array($wyslij);echo$pole[nazwa_pola];?>";

pozdrawiam Sławek
Technical Details
Message-ID: <e00q6a$min$1@atlantis.news.tpi.pl>
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

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: Sławek <slawekwrobel@poczta.fm>
Newsgroups: pl.comp.lang.javascript
Subject: Kod php pod zmienną js
Date: Fri, 24 Mar 2006 13:54:26 +0100
Organization: tp.internet - http://www.tpi.pl/
Lines: 10
Message-ID: <e00q6a$min$1@atlantis.news.tpi.pl>
NNTP-Posting-Host: serw.wios.rzeszow.pl
Mime-Version: 1.0
X-Trace: atlantis.news.tpi.pl 1143204874 23127 80.53.17.206 (24 Mar 2006 12:54:34 GMT)
X-Complaints-To: usenet@tpi.pl
NNTP-Posting-Date: Fri, 24 Mar 2006 12:54:34 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pl-PL; rv:1.7.12) Gecko/20050915
X-Accept-Language: pl, en-us, en
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit