...

View Full Version : General Question - PHP vs. JS



Tyrial101
12-31-2006, 07:04 AM
I've noticed that often it is easier to use PHP when writing scripts, because for me, it is often easier to understand.

Is there any downfall to using strictly PHP and not JS. Is there strong points to each, (other than the external script and client side abilities of JS) or is it ok to bypass JS completely and just use PHP?

*to clarify, I am not the best with either JS or PHP, so this may be a stupid question :o

_Aerospace_Eng_
12-31-2006, 07:08 AM
It really depends on what you are trying to do. There are some things JS can do that PHP can't and vice versa. Just remember Js can be disabled, php can't so if you can do something server side then do it.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum