50 |
std::string submit = qparam.param("submit"); |
std::string submit = qparam.param("submit"); |
51 |
if (submit == "1") |
if (submit == "1") |
52 |
{ |
{ |
53 |
std::string form_name = qparam.param("name"); |
std::string form_name = trim(qparam.param("name")); |
54 |
std::string form_address = qparam.param("address"); |
std::string form_address = trim(qparam.param("address")); |
55 |
std::string form_phone = qparam.param("phone"); |
std::string form_phone = trim(qparam.param("phone")); |
56 |
std::string form_contact = qparam.param("contact"); |
std::string form_contact = trim(qparam.param("contact")); |
57 |
|
|
58 |
|
|
59 |
if (id == -1) |
if (id == -1) |