| 281 |
RS.GetFieldValue("UID",dbVar,SQL_C_SLONG); |
RS.GetFieldValue("UID",dbVar,SQL_C_SLONG); |
| 282 |
sql.Format("insert into bbs_msg(fromUID,toUID,ntent,send_dt,send_ip)" |
sql.Format("insert into bbs_msg(fromUID,toUID,ntent,send_dt,send_ip)" |
| 283 |
" valulues(%ld,%ld,'%s',now(),'%s')", |
" valulues(%ld,%ld,'%s',now(),'%s')", |
| 284 |
this->innd_uid,dbVar.m_lVal,addslashes(msg_connt),ththis->hostaddr); |
this->innd_uid,dbVar.m_lVal,addslashes(msg_content),this->hostaddr); |
| 285 |
this->Db.ExecuteSQL(sql); |
this->Db.ExecuteSQL(sql); |
| 286 |
} |
} |
| 287 |
} |
} |