i m trying to extract multiple rows and print it in a single line in a web page.
My code
}
outputs this:
however i want it to output
can someone help please
My code
Code:
while ($line = mysql_fetch_array($app, MYSQL_ASSOC)) { echo "<tr><td>"; echo "<a href=AssignedUpdateForm.php?app=".$line['App']. ">".$line['App']."</a></td>"; echo "<td>" . $line['firstName'] ." ". $line['surname'] . "</td>"; echo "<td>" . $line['ServerName'] . "</td>"; echo "</tr>";
outputs this:
Code:
Application employee Server z a c z b c z a d z b d
Code:
Application employee Server z a,b c,d z a,b c,d
Comment