I have a form that a user completes to join a chat room, wasn't ever a problem as we only had it to be able to join a single chat room but now we've provided multiple options like
<option value="#Chat1">Chat 1</option>
<option value="#Chat2">Chat 2</option>
<option value="#Chat3">Chat 3</option>
<option value="#Chat4">Chat 4</option>
Later on I have
params.autojoin = "<? echo $_POST['channel']; ?>";
How can I change this so that it is every selected channel seperated by a comma i.e. #Chat1,#Chat3?
Thanks