Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help needed with the tep_db_connect()


Guest

Recommended Posts

Posted

I'm doing a lot of:

 

tep_db_close();
tep_db_connect(,,,DB_DATABASE_LINK_ID);
		   .
		   .
		   .
	tep_db_close(DB_DATABASE_LINK_ID);
  tep_db_connect();

 

In a lot of places to acess a different db. What i'm concerned about is that I'm using the same DB_DATABASE_LINK_ID for link_id variable through out my store, will this cause any problems? For example, in accout.php I'm accessing another db with 'link_id_r' and in history.php i'm accessing the same db with 'link_id_r'. Thank you.

Archived

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

×
×
  • Create New...