Re: PHP & Javascript

From: Date: Sun, 31 Oct 2004 01:04:34 +0000
Subject: Re: PHP & Javascript
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-37085@lists.php.net to get a copy of this message
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 */

« previous php.db (#37085) next »