Hi, I want to make dynamic websites and for that I am learning PHP/MySQL. But some one told me that I should learn Javascript as well. Is it really important, also, if I learn simple Java, whats the difference. Thanks
Java and Javascript aren't the same. If you're wanting to create dynamic websites then you don't need Java at all. Learn the basics of Javascript and once you have a grasp on the fundamentals, learn to use a Javascript framework like jQuery or Mootools. http://jquery.com/ http://mootools.net/
Ah, thanks a lot for your help. Well tell me is it really important to learn java if I am learning php?
Javascript is for little, fancy things to improve accessibility...and small animations if is used together with JQuery. Javascript is more about web design
well I have heard that with PHP, we have to do javascript. as PHP is server site script, Javascript is client side script, and for the communication of forms and stuff with the browser, it is important or else PHP is useless!! Is that correct?
I think your being confused with javascript and java.. they are COMPLETELY different, they arnt even developed by the same company... comparing javascript and java makes just as much sense as comparing c++ and javascript. No thats not correct. Anything you do with javascript you can do with php (and no, you can not do everything you do in php using javascript), the advantage of javascript is it is client side so you do not need to get a response from the server. Im not really sure who is telling you all this, but best advice is to ignore them.
Thanks a alot killaklown, You put away all my confusions. Well now as I know its not really that important to learn javascript, What benefits will I get If if master javascript sided with php/mysql? Regards
it gives you greater flexibility to make decisions on the fly, nothing more. Some things are better done with javascript, some are not. Learning both just gives you the knowledge to make a better decision as to how to achieve your goal in regards to your overall design. Also if you want to include some nice Jquery you would need atleast some basic knowledge of javascript. First learn php, then go on to javascript once php is natural to you.
i am in the same shoes as you are and to me pho is great for the server side coding and working with mysql database