I am creating a website and I need to to some PHP in my jQuery.
My code is as follows;
notifications.initMenu({
2:'#chatPage #tabs #2',
3:'#chatPage #tabs #3',
4:'#chatPage #tabs #4',
5:'#chatPage #tabs #5'
});
I want it so that it uses a while loop to echo;
$pageID:'#chatPage #tabs #$pageID',
And then on the last record echo;
$pageID:'#chatPage #tabs #$pageID'
Any ideas? Thanks.