pop-eye Posted July 28, 2006 Share Posted July 28, 2006 I need to run a PHP script from inside a java code. I do not need the user to click on any image or text or botton to load it. There is some java processing and than to run a PHP script passing some variable like "phpcode1.php?var1='xyz'" where the var1 was defined and created inside the Java script. Thanks for your help. Quote Link to comment Share on other sites More sharing options...
sanfly Posted July 29, 2006 Share Posted July 29, 2006 you can use php to put variables into javascript, but not the other way around to the best of my knowledge.Perhaps if you explain in a bit more detail, perhaps with some sample code, we can help to figure out a work-around. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.