Difference between Javascript and PHP
<p>What is the difference between PHP and Javascript?  </p>

<p>I know one is server side scripting and the other is browser side. but what I'm asking is that using Javascript, can I display alert messages,which i can simply do with PHP also,without using any function, or using some if-else combination. </p>

<p>So are PHP and Javascript are exclusive, like if i use one then the other one should not be used, or?</p>
