cpradio, how is that supposed to work (solution #2):
PHP Code:
if ($json_array[0]->name == "live_user_{$channelName}"
how do you expect $json_array[0] to be an object? The working code in the first post clearly indicates this is array not object. I doubt this will work.