akandels/php-credit-card-freezer — Issue #1: createTable() error, missing columns
Author: Shadok
Created: 2011-10-28 14:09:08+00:00
State: open

Hi,

When i'm using your PDO example, asking the class to create the table (and sqlite database), i get an error :
PHP Fatal error: Call to a member function bindParam() on a non-object in /var/www/includes/CreditCardFreezer/PDO.php on line 326

The sdb file is created but with only the 3 following fields :
credit_card
secure_store
created_at

Looks like the insert function is looking for a card_number columns which isn't created.

Thanks for sharing !