I have been searching for an answer to a PHP code problem. While it may sound easy to some users, I am having problem below:
I managed to retrieve data from a particular table with PHP and MySql. Unfortunately, I am unable to display result as a string rather than array.
I used print_r($loggedin_users).
Result:
Array ( [0] => Array ( [0] => Test ) [1] => Array ( [0] => Test1 ) )
I have tried using implode function to return me a string.
Result:
ArrayArray
May I know how do I get a result as below?
Desired result:
Test; Test1
Thank you in advance.