working with Jquery mobile and javascript and php

im king of new to this stuff i am more of a reverse programmer than a regular but i cannot find a way to defind this code into this the way i need it
$chatroom_id = ‘1,2,3,4,5,6’;


6 buttons here referenceing to the page ID---- this code is done already just having problems getting the chatroom ID to implement in

----------------------------------------where my fist code needs to go so $chatroom_id = ‘2’; i just dont know how to implement it will be the same way for the other six

    <div data-role="header">

Thanks for your help guys

You don’t have a clear question in your post.

The expected output of the code you’ve posted is



Which output is it you are after?

Sponsor our Newsletter | Privacy Policy | Terms of Service