Skip to content

Instantly share code, notes, and snippets.

@jissereitsma
Created July 27, 2015 14:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jissereitsma/7e653be530a279c1d15c to your computer and use it in GitHub Desktop.
Save jissereitsma/7e653be530a279c1d15c to your computer and use it in GitHub Desktop.
<?php
require_once 'app/Mage.php';
Mage::app();
$collection = Mage::getModel('facebooksignup/facebooksignup')
->getCollection()
->addFieldToFilter('customer_id',$user_id)
->limit(1); //////line 19 is here
foreach ($collection as $data) {
print_r($data);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment