GetTariff 326 B

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