• Forum
  • Doc
  • Screenshots
  • Download
  • Donate
  • Contributors
  • Contact
  • Follow @phpfreechat
  • DEMO
  • Board index ‹ Version 1.x branch ‹ General Support (v1.x)
  • Change font size
  • FAQ
  • Register
  • Login

Dynamic default rooms?

Moderators: OldWolf, re*s.t.a.r.s.*2

Post a reply
1 post • Page 1 of 1

Dynamic default rooms?

Postby JMElmore » Thu May 08, 2014 10:02 am

I am pulling my hair out trying to figure this out.

I want to dynamically set the default channels from list of rooms in a database. If I manually type

$params["channels"] = array("room 1", "room2");
it will work...

If I do something like
$params["channels"] = array();
start for loop
$params["channels"] [] = "Room 1";
second time through loop
$params["channels"] [] = "Room2";
end loop

This does not work!

What is going on here?
JMElmore
New member
 
Posts: 1
Joined: Thu May 08, 2014 9:56 am
Top

Post a reply
1 post • Page 1 of 1

Return to General Support (v1.x)

Who is online

Users browsing this forum: No registered users and 17 guests

  • Board index
  • The team • Delete all board cookies • All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
Sign in
Wrong credentials
Sign up I forgot my password
.
jeu-gratuit.net | more partners
Fork me on GitHub