[eluser]Bogdan Tanase[/eluser]
You'll probably want to do AJAX requests to the php server. Send a request, get a response (probably JSON) - asynchronously. I recommend reading [urlhttp://code.google.com/webtoolkit/doc/latest/DevGuideServerCommunication.html#DevGuideHttpRequests]this section[/url]. It's not too hard.
Although lately I've moved to pure java environments, If I get some time the next days I'll write a tutorial about server side communication and my approach with CI.