1. jQuery используется.
2. Запрос к базе
$this->vse_email = array();
$db_query="select users.email_user
from ".DB_PREF."users users ";
list($kolvo,$this->vse_email)=obr_db_query_select_assoc($db_query) ;
$mas_perem["vse_email"]=$this->vse_email;
$avax=array();
foreach($mas_perem["vse_email"] as $row) {
$avax[]=$row['email_user'];
}
$baza_email = json_encode($avax);
$mas_perem["baza_email"]=$baza_email;
//15.03.15
}
|