php + mysql question + checkout_process.php

marcelo <[email protected]> 12 Sep 2003 19:51:37 -0000
Newsgroups gmane.comp.web.oscommerce.general
Message-ID <c8ab3a9348268bab83a23256c3534fe8@osCommerce-Forums>
This message was sent from: General Support
http://forums.oscommerce.com/viewtopic.php?p=228548#228548
----------------------------------------------------------------

Hello,

I've changed a bit the send email procedure to send some more information through email, for this i did in checkout_process.php:

$cliente_query = tep_db_query("select cliente_doc from " . TABLE_CUSTOMERS . "");
$cliente = tep_db_fetch_array($cliente_query);

it does work, but it does get only this info from the FIRST customer, how would i go about getting this info from the currently logged on customer?

thanks in advance
Marcelo