Public paste
Almost
By: Xmoo | Date: Oct 8 2008 21:05 | Format: PHP | Expires: never | Size: 375 B | Hits: 1270

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