# Undefined index:

**URL:** <https://forum.kirupa.com/t/undefined-index/240659>\
**Category:** programming\
**Created:** [October 4, 2007, 7:58pm UTC](https://forum.kirupa.com/t/undefined-index/240659 "2007-10-04T19:58:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lunetics](https://avatars.discourse-cdn.com/v4/letter/l/c2a13f/32.png) [@lunetics](https://forum.kirupa.com/u/lunetics)\
**Post date:** [October 4, 2007, 7:58pm UTC](https://forum.kirupa.com/t/undefined-index/240659/1 "2007-10-04T19:58:03Z")

</div>

Whats wrong with this?

```php

$result = $myDB->queryRows("SELECT `place`, `time`, `order` FROM boarding_places ORDER BY `order` ASC;");

foreach ($result as $row) {
    $places .= $row["place"] . "<br />";
}

```

When turning on PHP error reporting I got this message:  
**Notice** : Undefined index: place in **create\_document.php** on line **468**
