Re: PHP & Javascript

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Saturday 30 October 2004 12:33, balwantsingh wrote:

> can anybody guide me how to embed php script into javascript. 

You can't.

> actually i am 
> using a function in  javascript and want that when this fuctions is called
> than some values to be stored in php session so that the values can be
> displayed in next page.

You can pass values from client-side using Javascript either via the URL 
($_GET) or form ($_POST) or cookies ($_COOKIE).  You can't manipulate the 
session variables directly.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-db
------------------------------------------
/*
Defeat is worse than death because you have to live with defeat.
  -- Bill Musselman
*/

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux