Welcome, Guest |
You have to register before you can post on our site.
|
|
|
Query Help |
Posted by: Spencer - 2010-09-02, 05:49 PM - Forum: 1.6 General Support
- Replies (7)
|
|
Hi,
I'm trying to run the following command to select all rows which are in a table, but it's only selecting/displaying one row, and not all of them.
// get results
$query = $db->simple_select("bb", "*");
while($results = $db->fetch_array($query))
{
$return_feedback = $results['feedback'];
$return_username = $results['username'];
}
// template to display results
eval("\$bb_logs = \"".$templates->get("bb_logs")."\";");
output_page($bb_logs);
|
|
|
|