login  Naam:   Wachtwoord: 
Registreer je!
 Forum

hoe een nieuwe rij laten beginnen

Offline herontdek - 03/01/2006 13:06
Avatar van herontdekNieuw lid beste,

hoe moet ik nu automatich een nieuwe rij laten beginnen in die tabel , dus bev 4 steden naast elkaar en dan een nieuwe rij met opnieuw 4 en als er meer in die database zitten opnieuw
  1. <html>
  2. <head>
  3. <title>Script Library v2.1!</title>
  4. </head>
  5. <body>
  6.  
  7. <style>
  8. <?PHp include 'style.css' ?>
  9. </style>
  10.  
  11. <h3>Script Library</h3>
  12.  
  13. <a href='voegtoe.php'>Klik hier om een script toe te voegen.</a><br><br>
  14.  
  15. <?php
  16.  
  17. include 'config.php';
  18.  
  19. $aNavigation = sqlnav ($rDatabaseConnection, 'script_scripts', 'p', 15, SQLNAV_BOTH, 0);
  20.  
  21. $sSqlGetScripts = 'SELECT DISTINCT script_auteur FROM script_scripts
  22. LIMIT '.$aNavigation['startpoint'].', '.$aNavigation['endpoint'];
  23. $rSqlGetScripts = mysql_query ($sSqlGetScripts, $rDatabaseConnection);
  24.  
  25. if (mysql_num_rows ($rSqlGetScripts) !== 0)
  26. {
  27. ?>
  28.  
  29. <table border="1" cellspacing="0" cellpadding="5">
  30.  
  31.  
  32. <?php
  33. while ($aSqlGetScripts = mysql_fetch_assoc ($rSqlGetScripts))
  34. {
  35. ?>
  36. <td><?php echo '<a href="index.php?stad='.$aSqlGetScripts['script_auteur'].'">'.$aSqlGetScripts['script_auteur'].'</a>'; ?></td>
  37.  
  38. <?php
  39. }
  40.  
  41. echo '</table><p><br>'.$aNavigation['navigation'];
  42. }
  43. else
  44. {
  45. echo 'Er zijn nog geen scripts.';
  46. }
  47. ?>
  48. </body>
  49. </html>
dank bij voorbaat

0 antwoorden

Gesponsorde links
Er zijn nog geen reacties op dit bericht.
Dit onderwerp is gesloten.
Actieve forumberichten
© 2002-2024 Sitemasters.be - Regels - Laadtijd: 0.169s