this is the code i use to display info but it shows 1 line under the other what do i need to do to say 3 fields side by side or what ever cheers Doug // Output Echo "<b>ID:</b> ".$info['id'] . " <br>"; Echo "<b>Name:</b> ".$info['name'] . " <br>"; Echo "<b>State:</b> ".$info['state'] . " <br>"; Echo "<b>Type:</b> ".$info['type'] . " <br>"; Echo "<b>Email:</b> ".$info['email'] . " <br>"; Echo "<b>Date:</b> ".$info['date'] . " <br>"; Echo "<b>Area:</b> ".$info['area'] . " <br>"; Echo "<b>Details:</b> ".$info['details'] . " <br>"; Echo "<b>Photo:</b> ".$info['pname'] . " <br>"; Echo '<a href="update.php?id='.$info['id'].'">Update</a>'; Echo '<hr />'; PHP:
Why not try using a table? echo "<table> <tr> <td>"<b>ID:</b> ".$info['id'] . "</td> <td><b>Name:</b> ".$info['name'] . "</td> <td><b>State:</b> ".$info['state'] . "</td> </tr> </table>"; PHP: