GetCF 368 B

1234567891011121314
  1. #!/usr/local/bin/php
  2. <?php
  3. $login=$argv[1];
  4. $cfid=$argv[2];
  5. include('mysql.php');
  6. $ipq='SELECT `content` FROM `cfitems` WHERE `login`="'.$login.'" AND `typeid`="'.$cfid.'"';
  7. $ip=DB_query($ipq);
  8. while ($line2 = DB_fetch_array($ip)) {
  9. $ipval = $line2['content'];
  10. print($ipval);
  11. }
  12. ?>