hey guys new to the forum i know bits and pieces of programming but i cannot for the life of me get this code working i cannot put the whole code out there for infringment reasons so here is what i can show Thanks guys <?php require_once (dirname(dirname(dirname(__FILE__))) . DIRECTORY_SEPARATOR . 'bootstrap.php'); $chatroom_id = get_var("id"); ?> <script type="text/javascript"> var dc_chatroom_id = <?php echo $chatroom_id = document.getElementById('id'); ?>; <!-- if i take this out ^^^^^ and put just 1 thru 6 one of the chatrooms work i have initially 6 rooms so i need to find a way to make this work. --!> </script> <div data-role="navbar" data-theme="a"> <ul> <li id="1"><a href="#room" data-role = 'button' data-transition="fade" data-theme="a">The Hangout</a> </li> </ul> <ul> <li id="2"><a href="#room" data-role = 'button' data-transition="fade" data-theme="a">Electronics Chat</a></li> </ul>