Quantcast
Channel: Topic Tag: database | WordPress.org
Viewing all articles
Browse latest Browse all 11077

sprocker on "[Plugin: UpiCRM – Universal WordPress CRM and Lead Management] Insert enquiry into separate db"

$
0
0

No, sorry I don't think so.....

I think I need to be able to do one of these two options:

1. add an insert sql statement to the other db using the fields form the contact form ie

connect to other db
INSERT INTO TableName (field1, field2, field3, field4, field4, field6, field7) VALUES ('$field1', '$field2', '$field3', '$field4', '$field5', '$field6', '$field7' )");

or

2. Post a string that will add the content to the db (I have this set up for another lead gen client) ie

$textsring = 'URL?field1=' . $field1 . '&field2=' . $field2 . '&field3='....etc';

$ch = curl_init($textsring);
curl_exec ($ch);
curl_close ($ch);

Hope that helps?


Viewing all articles
Browse latest Browse all 11077

Trending Articles