kalariak
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form 7] [Plugin: Contact Form 7] Store form fields in DB?Please ignore my previous post.
Does not seem to work with contact form 8.
Back to contact form 7.Forum: Plugins
In reply to: [Contact Form 7] [Plugin: Contact Form 7] Store form fields in DB?Doesn’t work for me, Can you help ?
Here’s what I did. create ‘mytable’ varchar
Added the following in …\themes\xxx\funtions.phpadd_action(‘wpcf7_before_send_mail’,’save_to_db’);
function save_to_db($cf7) {
//declare your varialbes, for example:
$first_name = $cf7->posted_data[“your-name”];//connect to the db and post the data
mysql_connect(‘localhost’) or die(‘localhost’);
mysql_select_db(‘wordpress’) or die(‘wordpress’);
mysql_query(“INSERT INTO mytable (name) VALUES(‘$first_name’)”) or die(‘mytable’);
mysql_close();
}’What am I doing wrong ?
I think it would be nice to have it up there all the time.
I will change the php and have a go.
Thanks for your quick response
Forum: Plugins
In reply to: [Plugin: Fast and Secure Contact Form] sent to multiple emailsGot the multiple emails working.
ThanksDon’t know if I should ask this here but here it goes anyway.
Is there a way to allow users to download files from the form ?
Forum: Plugins
In reply to: [Plugin: Fast and Secure Contact Form] sent to multiple emailsSorted out the sending of the multiple mails. Thanks for your help.
I don’t if I shoud ask this here but here it goes anyway.
Is there a way to allow users to download files files from this form?
Forum: Plugins
In reply to: [Plugin: Fast and Secure Contact Form] sent to multiple emailsMultiple emails does not work. Tried with php and wordpress settings.
Also installed configure smtp settings but no joy.
Has anybody ever got this working ?Do you use comma after each email address or semi-colon ?
Anyone ?
Forum: Plugins
In reply to: [Plugin: Fast and Secure Contact Form] only one from is workingI have the same problem, two different forms 1 & 2 on different pages. I deactivated all plugins and it only shows Form 1 on both pages. I changed the theme but still not working. currently using 2.9.2
Any ideas?