<?php
mysql_connect('localhost','root');
mysql_select_db('webseite');
$pages_res = ("SELECT pages FROM pages ORDER BY id;");
while($pages_row = mysql_fetch_array($pages_res))
{
echo "<li><a href='index.php?page=".$pages_row['pages']."'><span style='text-transform: text-transform: capitalize;'>".$pages_row['pages']."</span></a></li>";
} ?>
Klarer Fall:
$pages_res = mysql_query("SELECT pages FROM pages ORDER BY id;");
Ist besser.
We use essential cookies to make this site work, and optional cookies to enhance your experience.