PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I have code that gets users from a mysql database table 'chat_users' and puts them into an array. I then have it display the users in a foreach() command. It gives me an error saying the [] operator not supported for strings, but the query gives an array. Whats wrong? Heres the code: