Het resultaat kunnen jullie zien op www.hyd3x.nl
dit is de code:
Wat doe ik fout? ps het gaat om de tekst in het linker witte vak op de site
dit is de code:
PHP:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
| <?php include("config.php"); $query = "SELECT titel, bericht FROM nieuws ORDER BY -id LIMIT 0,10"; $resultaat = mysql_query($query) or die ("query mislukt"); while ($obj = mysql_fetch_object($resultaat)){ print "<br>"; print "<b>"; print $obj ->titel; print "</b>"; print "<br>"; print $obj ->bericht; } ?> |
Wat doe ik fout? ps het gaat om de tekst in het linker witte vak op de site
[ Voor 21% gewijzigd door hydex op 27-07-2004 20:07 ]