Nieuw lid |
|
http://www.herontdek.be/test/index.php
zoals je ziet plakt die tekst tegen elkaar wat kan ik daaraan doen?
dit is de index code
<html>
<head>
<title>horecalijst</title>
</head>
<body>
<style>
<?PHp include 'style.css' ?>
</style>
<h3>horeca lijst</h3>
<a href='voegtoe.php'>Klik hier om een horecazaak toe te voegen.</a><br>
<br>
<?php
include 'config.php';
$aNavigation = sqlnav ($rDatabaseConnection, 'script_scripts', 'p', 15, SQLNAV_BOTH, 0);
$sSqlGetScripts = 'SELECT * FROM script_scripts ORDER BY script_categorie ASC
LIMIT '.$aNavigation['startpoint'].', '.$aNavigation['endpoint'];
$rSqlGetScripts = mysql_query ($sSqlGetScripts, $rDatabaseConnection);
if (mysql_num_rows ($rSqlGetScripts) !== 0)
{
?>
<table border='0'>
<tr>
<td>horecazaak : </td>
<td>Stad: </td><td>Categorie: </td><td>Aantal Replies: </td><td>Rating </td></tr>
<?php
while ($aSqlGetScripts = mysql_fetch_assoc ($rSqlGetScripts))
{
?>
<tr><td><?php echo '<a href="bekijk.php?id='.$aSqlGetScripts['script_id'].'">'.$aSqlGetScripts['script_naam'].'</a>'; ?></td>
<td><?php echo $aSqlGetScripts['script_auteur']; ?></td>
<td><?php echo '<b>'.$aSqlGetScripts['script_categorie'].'</b>'; ?></td>
<td><?php echo mysql_num_rows (mysql_query ('SELECT script_id FROM script_replies WHERE script_id = '.$aSqlGetScripts['script_id'])) ?></td>
<td><?php for ($i = 1; $i <= intval ($aSqlGetScripts['script_rating']); $i++) echo '<img src="full.gif"> '; ?>
<?php for ($iTeller = 1; $iTeller <= (11 - $i); $i++) echo '<img src="empty.gif"> '; ?></td></tr>
<?php
}
echo '</table><p><br>'.$aNavigation['navigation'];
}
else
{
echo 'Er zijn nog geen scripts.';
}
?>
</body>
</html>
<html> <head> <title>horecalijst</title> </head> <body> <style> <?PHp include 'style.css' ?> </style> <h3>horeca lijst</h3> <a href='voegtoe.php'>Klik hier om een horecazaak toe te voegen.</a><br> <br> <?php include 'config.php'; $aNavigation = sqlnav ($rDatabaseConnection, 'script_scripts', 'p', 15, SQLNAV_BOTH, 0); $sSqlGetScripts = 'SELECT * FROM script_scripts ORDER BY script_categorie ASC LIMIT '.$aNavigation['startpoint'].', '.$aNavigation['endpoint']; $rSqlGetScripts = mysql_query ($sSqlGetScripts, $rDatabaseConnection); { ?> <table border='0'> <tr> <td>horecazaak : </td> <td>Stad: </td><td>Categorie: </td><td>Aantal Replies: </td><td>Rating </td></tr> <?php { ?> <tr><td> <?php echo '<a href="bekijk.php?id='.$aSqlGetScripts['script_id'].'">'.$aSqlGetScripts['script_naam'].'</a>'; ?></td> <td> <?php echo $aSqlGetScripts['script_auteur']; ?></td> <td> <?php echo '<b>'.$aSqlGetScripts['script_categorie'].'</b>'; ?></td> <td> <?php for ($i = 1; $i <= intval ($aSqlGetScripts['script_rating']); $i++) echo '<img src="full.gif"> '; ?> <?php for ($iTeller = 1; $iTeller <= (11 - $i); $i++) echo '<img src="empty.gif"> '; ?></td></tr> <?php } echo '</table><p><br>'.$aNavigation['navigation']; } else { echo 'Er zijn nog geen scripts.'; } ?> </body> </html>
alvast heel veel dank bij voorbaat
|