• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Need help on PHP/MySQL WP site w/forms

Cienja

Senior member
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!
 
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...
 
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!
 
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;
 
Back
Top