Totally Zenned
- Join Date:
- Jun 2007
- Location:
- Bronx, New York, United States
- Posts:
- 949
- Plugin Contributions:
- 3
Post #341 by retched
OJ_SIMON:
define('TABLE_STRIPE', DB_PREFIX . 'stripe');
> ```php
$db-> execute("CREATE TABLE " . TABLE_STRIPE . "(id INT(11) AUTO_INCREMENT PRIMARY KEY,customers_id INT(11),Stripe_Customers_id VARCHAR(32))");
the above is how it should be done then anyone can use it without having to change code.
Noted. I forgot that the TABLE_ constants are always accessible. Submitting now.