# Space between mysql data

**URL:** <https://forum.kirupa.com/t/space-between-mysql-data/235527>\
**Category:** Uncategorized\
**Created:** [August 12, 2007, 9:12am UTC](https://forum.kirupa.com/t/space-between-mysql-data/235527 "2007-08-12T09:12:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![novatake](https://avatars.discourse-cdn.com/v4/letter/n/e47774/32.png) [@novatake](https://forum.kirupa.com/u/novatake)\
**Post date:** [August 12, 2007, 9:12am UTC](https://forum.kirupa.com/t/space-between-mysql-data/235527/1 "2007-08-12T09:12:06Z")

</div>

hey all ive got a mysql database which i use the following code to display the results on a website

```php
 <?php
$con = mysql_connect("--","--","--");
if (!$con)
  {
  die('Could not connect: ' . mysql_error());
  }

mysql_select_db("--", $con);

$result = mysql_query("SELECT * FROM events");

echo "<table border='0'>
<tr>
<th>Date</th>
<th>Location</th>
<th>Details</th>
</tr>";

while($row = mysql_fetch_array($result))
  {
  echo "<tr>";
  echo "<td>" . $row['date'] . "</td>";
  echo "<td>" . $row['location'] . "</td>";
  echo "<td>" . $row['details'] . "</td>";
  echo "</tr>";
  }
echo "</table>";

mysql_close($con);
?>

```

but the owner of the site wants a bigger space between results than there is atm as it is just the default table gap. ive tried the usual \<br/\> and stuff like that but nothing seems to be doing the trick im sure its probably something stupid that im missing but any ideas???

thanks alot

-Tom
