i m trying to extract multiple rows and print it in a single line in a web page.
My 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:
Application employee Server
z a c
z b c
z a d
z b d
however i want it to output
Application employee Server
z a,b c,d
can someone help please