SHARE
TWEET

Untitled

a guest Nov 22nd, 2012 19 Never
  1. <?php
  2. $sql1 = 'SELECT COUNT(`referid`) FROM `users` WHERE `ID` = :ID'
  3. $checknumber = $odb -> prepare($sql, array(PDO::ATTR_CURSOR => PDO::CURSOR_FWDONLY));
  4. $checknumber -> execute(array(':ID' = $_SESSION['ID']));
  5. $result = $checknumber->fetchAll();
  6. echo($result);
  7. ?>
RAW Paste Data
Top