aceofspades Posted August 24, 2006 Share Posted August 24, 2006 Both javascript and PHP have their advantages......i have seen a few examples of the two languages being combined on forums. Is there any good tutorials that explain how to use the two languages in the same script. Anyways one of the advantages of javascript is that it can create cookies and change the URL in the middle of the script. Also javascipt lets you use prompts. PHP is better for checking forms and adding information to a database. Is there a way you can have PHP and javascript communicate and work together. On the Gamespot forums they combine javascript and PHP.There now it says javascript Link to comment Share on other sites More sharing options...
Cronthenoob Posted August 24, 2006 Share Posted August 24, 2006 Anyways one of the advantages of java is that it can create cookies and change the URL in the middle of the script. Also javascipt lets you use prompts.You seem to be using java and javascript as the same word. They are two VERY different technologies. Link to comment Share on other sites More sharing options...
aceofspades Posted August 24, 2006 Author Share Posted August 24, 2006 You seem to be using java and javascript as the same word. They are two VERY different technologies.my bad a fow pah on my part. When i say java i mean javascript i dont even know java or care to learn it..... Link to comment Share on other sites More sharing options...
Cronthenoob Posted August 24, 2006 Share Posted August 24, 2006 I'm sure there are several ways you can make the two work together to create an interactive web application.What is it exactly that you are trying to do? Link to comment Share on other sites More sharing options...
aceofspades Posted August 24, 2006 Author Share Posted August 24, 2006 I'm sure there are several ways you can make the two work together to create an interactive web application.What is it exactly that you are trying to do?yes, im wondering how you can effectively combine the two. Another good use of it is to check the form informations format before seding it to a php app Link to comment Share on other sites More sharing options...
Cronthenoob Posted August 24, 2006 Share Posted August 24, 2006 Just call javascript functions where you need them, and just use PHP where you need it.I don't think there is a specific way to make the two combined. Link to comment Share on other sites More sharing options...
aceofspades Posted August 24, 2006 Author Share Posted August 24, 2006 Just call javascript functions where you need them, and just use PHP where you need it.I don't think there is a specific way to make the two combined.this shows how to transfer data between the two languages http://codewalkers.com/seecode/392.html Link to comment Share on other sites More sharing options...
Cronthenoob Posted August 24, 2006 Share Posted August 24, 2006 this shows how to transfer data between the two languages http://codewalkers.com/seecode/392.html Well there you go. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now