On Thu, April 7, 2005 11:59 am, PartyPosters said: > Thanks for you reply. > I need to be able to test the php variable though, is the anyway I can > call > the > java funtion from my if statement? First, it's JavaScript not Java. Secondly, PHP lives on the SERVER. JavaScript lives in the BROWSER. PHP is gonnnnne by the time JavaScript executes. You can get PHP to spew out ANY JavaScrpt you like. Getting JavaScript to then do something with PHP will require a second HTTP connection. -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php