Está aqui

Extrair e-mails

por Lerparaver
t('Nome'), 'field' => 'nome'), array('data' => t('BI'), 'field' => 'bi'), array('data' => t('email'), 'field' => 'email'), array('data' => t('IP'), 'field' => 'ip'), array('data' => t('Newsletter'), 'field' => 'news'), array('data' => t('número'), 'field' => 'n'), array('data' => t('Time'), 'field' => 'data', 'sort' => 'desc'), array('data' => t('editar')), array('data' => t('Eliminar')) ); $result = db_query('SELECT email FROM {peticao} WHERE news = "lpv" AND n > 6200'); if (db_num_rows($result)) { while ($log = db_fetch_object($result)) { $_path = drupal_get_path_alias('node/'.$log->nid); $output = $output . "$log->email, "; } } print $output; } ?>

Voltar à petição