Passing variables from javascript to php

From: Date: Thu, 14 Dec 2000 15:20:35 +0000
Subject: Passing variables from javascript to php
Groups: php.general 
Request: Send a blank email to php-general+get-30296@lists.php.net to get a copy of this message
I decided to try and learn some javascript. Being the pure simpleton that I am, I tested the oh-so-simple: <script language="JavaScript"> <!-- abc=window.prompt("Please enter a word."); // --> </script> I know it stores the variable because document.write(abc) prints it but the variable apparently doesn't pass to php... <? echo("$abc");?> //placed after the </script> tag soooooo, what should I be aware of in order to make it work? thank you __________________________________________________ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/

« previous php.general (#30296) next »