PageRenderTime 770ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

/src/beheer/lockAanbieder.php

https://bitbucket.org/jwubs/gratisgolfpolis.nl
PHP | 9 lines | 7 code | 2 blank | 0 comment | 0 complexity | 348b0a760f65c9ed45c355a057e09813 MD5 | raw file
  1. <?php
  2. $conn = mysql_connect('91.184.10.91', 'mysqlgratisgolf', 'g0lfp0l1s');
  3. mysql_select_db('gratisgolfpolis', $conn);
  4. $str = mysql_query("UPDATE aanbieders SET locked = '1' WHERE id='".$_GET["id"]."'");
  5. mysql_query($str);
  6. header("Location:index.php?act=aanbieders");
  7. ?>