Search found 3 matches

by ferox
Wed Dec 03, 2008 7:58 am
Forum: PHP - Code
Topic: Imbedding PHP Into Javascript
Replies: 6
Views: 588

Re: Imbedding PHP Into Javascript

js code for ya its just a free download thing though  <script language="JavaScript1.2">   /* Cross browser Marquee script- © Dynamic Drive (http://www.dynamicdrive.com) For full source code, 100's more DHTML scripts, and Terms Of Use, visit http://www.dynamicdrive.com Credit MUST stay inta...
by ferox
Wed Dec 03, 2008 7:36 am
Forum: PHP - Code
Topic: Imbedding PHP Into Javascript
Replies: 6
Views: 588

Re: Imbedding PHP Into Javascript

$text defianatly contains something ive put it else where on the page and it echos fine...

ive also put plain text where $text was and that works fine also?
by ferox
Wed Dec 03, 2008 7:16 am
Forum: PHP - Code
Topic: Imbedding PHP Into Javascript
Replies: 6
Views: 588

Imbedding PHP Into Javascript

Hello, I am aware that PHP is sever side and javascript is client side so therefore the php is processed before the javascript even sees it so is there away to get around it my natural instinct would be to do this var marqueecontent='<nobr><span class="newsflash"><?php echo $text; ?></span...