RE: [PHP-DB] PHP & Javascript

From: Date: Sun, 31 Oct 2004 13:00:23 +0000
Subject: RE: [PHP-DB] PHP & Javascript
Groups: php.db 
Request: Send a blank email to php-db+get-37088@lists.php.net to get a copy of this message
Actaully No , as Javascript has to run at Web Browser end and PHP has to run at Server Side , And more at matter javascript memory ( variable values ) cannot be shared with PHP memory ( variable values ) , If you want want to share the variable values or result values then you can do away with PHP-PEAR Extension JavaScript. Nikhil. -----Original Message----- From: Jason Wong [mailto:php-db@gremlins.biz] Sent: Sunday, October 31, 2004 6:35 AM To: php-db@lists.php.net Subject: Re: [PHP-DB] PHP & Javascript 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

« previous php.db (#37088) next »