Difference between PHP and JavaScript!!!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • abhishekphukan
    New Member
    • Jul 2014
    • 34

    Difference between PHP and JavaScript!!!

    I want to know what is the actual difference between PHP and JavaScript..I know that PHP is a server side scripting and JavaScript is a client...i know that kind of information..i want a real world explation..can anyone provide it..is there any actually a difference between these languages or the both programming language can be used for same purpose.I mean does a programmer need to learn both the language or the programmer should go for only one above mentioned language and will serve his/her purpose.
    Thank You..:)
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    does a programmer need to learn both the language or the programmer should go for only one above mentioned language and will serve his/her purpose.
    it’s never good to rely only on one language. a programmer should go for the language, that best suits/solves the problem.

    Comment

    • Rabbit
      Recognized Expert MVP
      • Jan 2007
      • 12517

      #3
      Use JavaScript for interactivity. Use php for data persistence. There are many other differences but those are the biggest reasons why someone would want to use them. All depends on what you want to do. You should learn both.

      Comment

      Working...