Need help on PHP/MySQL WP site w/forms

Cienja

Senior member
Aug 27, 2007
471
0
76
www.inconsistentbabble.com
Howdy. I need some help...I have a WordPress site using PHP and MySQL. The site uses some forms (using a WP plugin) that send data to my email, but not to MySQL - and I want it to. I also want to generate a quote number and have it sent automatically to the user, which I'm doing manually at this time.

If you are able to help me with such a task, please PM me. I'm looking for ongoing help and I'm willing to pay.

Thanks!
 

johnny.dacu

Member
Jul 6, 2010
54
0
0
I don't know what plugin it is but: open plugin's php file. Identify the line where the email is sent and add there an insert mysql_query (if i'm not wrong you can use wp_query()) with your data. that's all.

I haven't understood what is it with that quote number...
 

Cienja

Senior member
Aug 27, 2007
471
0
76
www.inconsistentbabble.com
I don't know what plugin it is but: open plugin's php file. Identify the line where the email is sent and add there an insert mysql_query (if i'm not wrong you can use wp_query()) with your data. that's all.

I haven't understood what is it with that quote number...

Thanks! I've been reading a bit on how to do this on my own, and although I'm not certain that I can, I've learned tons about PHP :)

I don't understand the quote number question. What do you mean exactly?

Thanks for your input!
 

Ka0t1x

Golden Member
Jan 23, 2004
1,724
0
71
The quote number could be the auto-generated ID for that table. You could start it out at 1000 or so.

Code:
ALTER TABLE <table_name> AUTO_INCREMENT = 1000;