• Howdy! Welcome to our community of more than 130.000 members devoted to web hosting. This is a great place to get special offers from web hosts and post your own requests or ads. To start posting sign up here. Cheers! /Peo, FreeWebSpace.net
managed wordpress hosting

ThE LongesT ThreaD EveR


$sql = "SELECT * FROM `Menu`";
$result = mysql_query($sql);
while ($row = mysql_fetch_assoc($result)) {
for ($i=0; $i < mysql_num_fields($result); $i++) {
$name = mysql_field_name($result, $i);
$id = $row['id']; // get the row id
$link[$id][$name] = $row[$name]; // put the row in an array
echo '<a href="index.php?page='.$link['1']['l_name'].'">'.$link['1']['name'].'</a>';

Last edited:
i dont think Moosey owns that since I have never seen him advertise it, and he advertises all his sites, but I could be wrong.

if ( (isset($_SESSION['user'])) && (!strpos($_SERVER['PHP_SELF'], 'logout.php')) ) {
echo'<a href="admin.php">Admin Home</a> | <a href="logout.php" title="Logout">Logout</a>';
} else {
echo '';