//I need an output array from my database,
//I tried:
<?php require_once("includes/connection.php"); ?>
<?php require_once("includes/functions.php"); ?>
<?php
$query = "SELECT * FROM pages";
$result = mysql_query($query);
$aUsers = array();
while($row = mysql_fetch_array($result))
{
$row["menu_name"];
}
//I need to get something like:
$aUsers = array(
"Ädams Egbert",
"Altman Alisha",
"Archibald Janna",
"Auman Cody",
"Bagley, Sheree");
//I need an array populated with row “menu_name” from table “pages” of my database
//How Can I do this , can somebody help me?!
if you only need menu_name, you should only select menu_name in the query