whats better php or javascript?

Meklar

New member
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.
 
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.
 
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!
 
Back
Top