st->Prepare("insert into tb_detail_stats \
(till_time, from_time, fk_user, dir_num, \
ip, download, upload, cost) \
values (?, ?, (select pk_user from tb_users \
where name = ?), \
?, ?, ?, ?, ?)");
st->Prepare("insert into tb_detail_stats \
(till_time, from_time, fk_user, dir_num, \
ip, download, upload, cost) \
values (?, ?, (select pk_user from tb_users \
where name = ?), \
?, ?, ?, ?, ?)");