Hi there,
Can anyone help?
Why is the following code displaying "P1P2P3..." etc, instead of "P1 , P2, P3 ,.." etc. ?
Thanks
Paul
<!--Conect to database-->
<?php include "connects/patientconn.php"; ?>
<?php
$query = "SELECT `Patient I.D.` FROM `patient`";
$result = mysql_query($query);
while($patient = mysql_fetch_assoc($result))
{
$pt = implode(" , ", $patient);
echo $pt;
}
?>