Is there a way to print an array so that each element is on the same line rather than on different lines? For instance, if I had the array("A", "B", "C"), I would want it to print as A B C rather than...
A
B
C
Any help would be greatly appreciated. I've been googling and searching all night. Thank you very much for your help. Here's my code:
while ($funds = mysqli_fetch_array($result,MYSQLI_ASSOC)){
echo '<tr><td>' . $funds['name'] . '</td></tr>';
}