Certain things you do in javascript can also be done with php(like, math for example), but you need to realize php is a serverside language, and javascript is a clientside language. The first few pages should help clarify the difference for you http://www.sitepoint.com/article/adv...design-primer/
Maybe if you explain what, and why, you think you need/want to do with php, we can help.
I'm making a "look up" in php,
and I want it to update when I select an option,
and not have to use a submit button.
And yes I know php is server side.
It seems to me what you are looking to do is something with Ajax. You can use Javascript's Ajax to send a request to a php page and receive a response without loading a separate page. I'd suggest googling Ajax tutorial or something similar or moving to the Javascript section for further help.
You're asking for a way to submit a form without the user having to press a button? This is something only a clientside language can do, because a serverside language has already finished executing by the time the web page has loaded.
Bookmarks