while ($data = db_fetch_object($result)) { $titles[] = $data->title; }
while ($row = db_fetch_object($result)) { $titles = $row['title']}