Problem with change page passing data

Problem with change page passing data

I'm new to jquerymobile, i'm developing a web app:
I need to pass to a page some data, the receiver page use the data, aske to DB and make a list. Clicking on a button of the new page the data ar re-ordered (asking to server).

I don't understand the logic of this usage, the documentation is not well formed for this page transation. Do I have to insert php code in page or not? Do i pass data to php or not?

I need help, i'm available to pay somone for make me understand it.