Arie
By: Xmoo | Date: Oct 8 2008 20:49 | Format: PHP | Expires: never | Size: 1.28 KB | Hits: 1066
- <?php $obj=mysql_query("SELECT id FROM bloem_actie WHERE product = '1' ORDER BY RAND() LIMIT 1") or die(mysql_error());
- {
- $aid = $info->id;
- echo "<center><h2>The Winning ID for product 1 is: <a href="?p=actie&a=user&id=".$aid."">".$aid."</a></h2></center>";
- }
- ?>
- <?php $obj=mysql_query("SELECT id FROM bloem_actie WHERE product = '2' ORDER BY RAND() LIMIT 1") or die(mysql_error());
- {
- $aid = $info->id;
- echo "<center><h2>The Winning ID for product 2 is <a href="?p=actie&a=user&id=".$aid."">".$aid."</a></h2></center>";
- }
- ?>
- <?php $obj=mysql_query("SELECT id FROM bloem_actie WHERE product = '3' ORDER BY RAND() LIMIT 1") or die(mysql_error());
- {
- $aid = $info->id;
- echo "<center><h2>The Winning ID for product 3 is <a href="?p=actie&a=user&id=".$aid."">".$aid."</a></h2></center>";
- }
- ?>
- <?php $obj=mysql_query("SELECT id FROM bloem_actie WHERE product = '4' ORDER BY RAND() LIMIT 1") or die(mysql_error());
- {
- $aid = $info->id;
- echo "<center><h2>The Winning ID for product 4 is <a href="?p=actie&a=user&id=".$aid."">".$aid."</a></h2></center>";
- }
- ?>
Latest pastes
1 days ago
2 days ago
4 days ago
6 days ago
6 days ago