[PHP] Re: javascript & php

2003-07-28 Thread Kristin Schesonka
Hi Roman, I'm not sure if I understand what you want to do - but if you try to set your PHP-Variable with JavaScript it couldn't work. JavaScript is Clientside interpreted and PHP is Serverside interpreted, that means your PHP-Code is done before the JavaScript-Code. So the Webserver reads your $c

[PHP] Re: javascript & php

2003-07-28 Thread Thomas Seifert
On Mon, 28 Jul 2003 12:48:04 +0200 [EMAIL PROTECTED] (Roman Duriancik) wrote: > I have problem with variables in javascript and php. > I have code in php and in this code I insert some values from javascript.: > > $color = " >"; > > >

Re: [PHP] Re: Javascript & PHP cookies

2002-06-10 Thread Erik Price
On Sunday, June 9, 2002, at 12:56 AM, John Taylor-Johnston wrote: > Absolutely. I've done it. Cookies are cookies. > > What I don't like is that the cookie is not saved unitl after a submit. > > In Javascript, I have JS code that will assign a value and save it to a > cookie and then recall the

[PHP] Re: Javascript & PHP cookies

2002-06-08 Thread John Taylor-Johnston
Absolutely. I've done it. Cookies are cookies. What I don't like is that the cookie is not saved unitl after a submit. In Javascript, I have JS code that will assign a value and save it to a cookie and then recall the cookie value and document.write(myvalue), over and over if I want, without EV

[PHP] Re: JavaScript & php question - mainly JS though so slightly OT but hep needed!!! :o)

2001-12-19 Thread Chris Lee
thats exactly how you do it. foreach( $array as $pos => $val ) echo " $val "; -- Chris Lee [EMAIL PROTECTED] "Martin Hughes" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > How could I write the function windowPopup(XX) where XX is a variab