What is the difference between PHP and Javascript?
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.
So are PHP and Javascript are exclusive, like if i use one then the other one should not be used, or?