You mentioned earlier that you're running out of time, so this might be a problem. It's actually a good thing that you have your PHP script set-up for this already. This will speed things up a bit.
So, what I'm gonna need from you is the abillity to send your php page parameters. Based on what I send to your page, you must send me the requested data back in the format that I require them in. I think the best option for this is to go with JSON.
If at all possible, give me the source of your PHP pages. I'll then try to develop this locally first, and then give you the raw material once I'm done. I can work on it later today and this evening, and have it back by you in the morning.