View Full Version : ajax: js vs php
01-12-2007, 03:05 PM
newbie as I am(php,mysql and hopefully ajax in a couple of month), I have to figure out some issues but I 'm not really sure if this is the place to do so..Anyway..
The answer may be obvious for some of you guys anad if it really is, feel free to reply =) Thnx in advance
01-12-2007, 03:42 PM
PHP is server side. The only way to get things from client to server or from server to client is through HTTP requests. In the browser, traditionally HTTP requests to the server are results of clicking links or submitting forms. The response replaces the entire current page in those cases.
01-12-2007, 08:22 PM
Aha.. simple as that.. very helpful reply. thnx =)
01-13-2007, 09:10 AM
php (or any other server-language) is not oriented on document's elements. It can not "catch" the user's actions.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.