Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Storing Customer Enquiries in Database


damo2576

Recommended Posts

Posted

Hi,

 

I'd like to be able to store all queries we receive from the contact us page in the database. Just store say, date, name, email and message.

 

Has anyone done this before?

 

Obviously I need to create a table which is fine but I can't figure out where to put the update SQL to write to the table. Doesnt seem to all happen in contact.php

 

Anyone have any ideaS?

 

 

Thanks

 

Damo

Posted

Have a look at the various support ticket systems - they do what you want and even more. contact_us.php doesn't use any database queries (apart from the included application_top.php which EVERY page has) so you will not find any pointers there.

 

HTH

Mattice

"Politics is the art of preventing people from taking part in affairs which properly concern them"

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...