Welcome to Discuss Everything Forums...

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed.


 

Tags for this Thread

+ Reply to Thread
Results 1 to 10 of 10
  1. #1
    It doesn't make sense to compare them to ask which is 'better' since they do completely different things. JavaScript runs in the client, on the client's browser. PHP runs on the server side, launched by the web server.

  2. #2
    Meklar's Avatar
    Junior Member

    Status
    Offline
    Join Date
    Apr 2009
    Posts
    14
    Downloads
    0
    Uploads
    0
    Neither one is 'better'. They just do different things. PHP is a serverside language while Javascript is a clientside language. That is to say, a PHP program runs on a server and generates data that is sent to a client accessing that web page. A Javascript program is sent to the client along with a web page, and runs on the client machine.

  3. #3
    Meklar's Avatar
    Junior Member

    Status
    Offline
    Join Date
    Apr 2009
    Posts
    14
    Downloads
    0
    Uploads
    0
    Neither one is 'better'. They just do different things. PHP is a serverside language while Javascript is a clientside language. That is to say, a PHP program runs on a server and generates data that is sent to a client accessing that web page. A Javascript program is sent to the client along with a web page, and runs on the client machine.

  4. #4
    Meklar's Avatar
    Junior Member

    Status
    Offline
    Join Date
    Apr 2009
    Posts
    14
    Downloads
    0
    Uploads
    0
    Neither one is 'better'. They just do different things. PHP is a serverside language while Javascript is a clientside language. That is to say, a PHP program runs on a server and generates data that is sent to a client accessing that web page. A Javascript program is sent to the client along with a web page, and runs on the client machine.

  5. #5
    It doesn't make sense to compare them to ask which is 'better' since they do completely different things. JavaScript runs in the client, on the client's browser. PHP runs on the server side, launched by the web server.

  6. #6
    Meklar's Avatar
    Junior Member

    Status
    Offline
    Join Date
    Apr 2009
    Posts
    14
    Downloads
    0
    Uploads
    0
    Neither one is 'better'. They just do different things. PHP is a serverside language while Javascript is a clientside language. That is to say, a PHP program runs on a server and generates data that is sent to a client accessing that web page. A Javascript program is sent to the client along with a web page, and runs on the client machine.

  7. #7
    Meklar's Avatar
    Junior Member

    Status
    Offline
    Join Date
    Apr 2009
    Posts
    14
    Downloads
    0
    Uploads
    0
    Neither one is 'better'. They just do different things. PHP is a serverside language while Javascript is a clientside language. That is to say, a PHP program runs on a server and generates data that is sent to a client accessing that web page. A Javascript program is sent to the client along with a web page, and runs on the client machine.

  8. #8
    Tanner's Avatar
    Senior Member

    Status
    Offline
    Join Date
    May 2009
    Posts
    337
    Downloads
    0
    Uploads
    0
    the reason u cant find a site to compare them is cause they are different things...PHP i do believe is HTML and CSS in loops

  9. #9
    Fme's Avatar
    Junior Member

    Status
    Offline
    Join Date
    Apr 2011
    Posts
    0
    Downloads
    0
    Uploads
    0

    whats better php or javascript?

    Since i cant find a website that compares stuff like this. I just ask yahoo answers...
    i know that much >=(. im just saying what does php do and what does javascript do?

    based on some google research, php is about bowers and websites and javascript makes websites more interactive... but i cant really get much from that!

  10. #10
    Meklar's Avatar
    Junior Member

    Status
    Offline
    Join Date
    Apr 2009
    Posts
    14
    Downloads
    0
    Uploads
    0
    Neither one is 'better'. They just do different things. PHP is a serverside language while Javascript is a clientside language. That is to say, a PHP program runs on a server and generates data that is sent to a client accessing that web page. A Javascript program is sent to the client along with a web page, and runs on the client machine.

 

 

Quick Reply Quick Reply

Click here to log in


In what corner do we have Search box?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. whats better php or javascript?
    By Meklar in forum Discuss PHP
    Replies: 2
    Last Post: 04-19-2011, 10:18 PM
  2. Php project help? Javascript or php?
    By Joe Burnett in forum Discuss PHP
    Replies: 0
    Last Post: 12-19-2010, 05:03 AM
  3. Php project help? Javascript or php?
    By Joe Burnett in forum Discuss PHP
    Replies: 0
    Last Post: 12-19-2010, 05:03 AM
  4. Replies: 0
    Last Post: 10-08-2009, 08:18 PM
  5. PHP / Javascript integration :: PHP/Javascript "battle"?
    By That Random Guy in forum Discuss PHP
    Replies: 0
    Last Post: 01-16-2009, 11:05 PM

Bookmarks

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •