[PHP] Re: Php and JavaScript

2003-03-02 Thread Valentin
Thank you Vincent! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Php and JavaScript

2003-03-02 Thread Vincent M.
Valentin wrote: Hi, Is any way to write JavaScript code into PHP function or to send PHP's variables values to the JScript variables? Thanks, Of course, you can create dynamicaly javascript via php, ie: echo " var yourvar = $onephpvar ; " ; Is that what you were asking for ? Vincent. -- PH

[PHP] Re: php and javascript question

2002-06-05 Thread Michael Davey
Not unless you pass the variable to the next page explicitly. You can do this by either encoding it into the URL of the next page: http://your.com/page.php?var=value or by putting the variable into an HTML form and submitting it. regards, Mikey "Kemu" <[EMAIL PROTECTED]> wrote in message [EMAI

[PHP] Re: PHP and JavaScript

2002-05-26 Thread Vincent Kruger
You need to define the type of file you are creating. Like when you create wml pages with php. Header("Content-Type: text/javascript"); or summing to that effect. have a look at www.weberdev.com "Mp" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, php-ge