Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Variable name of extra-order-info email?


icx

Recommended Posts

How can I use the extra-order-info email that is stored in the DB? What I mean is, how can I call it?

 

<a href = "mailto:EXTRA_ORDER_INFO_EMAIL">EMAIL</a>???????????

 

Can something like that work?

Link to comment
Share on other sites

this should be what u need

 

<?php

$extrae_email = tep_db_query("select conf.configuration_value from " . TABLE_CONFIGURATION . " conf where conf.configuration_key = 'SEND_EXTRA_ORDER_EMAILS_TO'");

$extrae = tep_db_fetch_array($extrae_email);

echo $extrae['configuration_value'];

?>

 

hope this helps!

Reddy to Rumble

 

Thank you osCommerce and all who Contribute to her!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...