Public paste
80
By: Xmoo | Date: Oct 8 2008 20:39 | Format: PHP | Expires: never | Size: 374 B | Hits: 717

  1. <?php $obj=mysql_query("SELECT id FROM bloem_actie WHERE product =  '$teller' ORDER BY RAND() LIMIT 1") or die(mysql_error());
  2.                 while($info= mysql_fetch_object($obj))      
  3.                 {
  4.                         $aid = $info->id;
  5. for ($i=1; $i<81; $i++){
  6. echo "<center><h2>The Winning ID is: <a href="?p=actie&a=user&id=".$aid."">".$aid."</a></h2></center>";
  7. $teller = $teller + 1;                 
  8.  }
  9. }
  10. ?>