sg

Cumartesi, Kasım 26, 2005

Re: how to put document.getElementById("sidebar").innerHTML ETC into an ECHO


I would look at the quotes (especially given the error message you
report). I would expect that PHP would be as unhappy about nested
quotes as every other programming language.
You probably need to do something like:
echo "var document.getElementById('sidebar').innerHTML =
('sidebar_html');\n";
(notice the change to single quotes inside the string).

-- Larry
(disclaimer, I don't know much about PHP, which is what the code looks
like it is written in)

0 Comments:

Yorum Gönder

<< Home


Komik Videolar   islam  şarkı sözleri  yemek tarifleri  gelibolu  huzur   sağlık