09-09-2009, 10:28 PM
|
#3 (permalink)
|
|
The Acquainted
Join Date: May 2007
Location: Your G/F's Closet
Posts: 114
Thanks: 7
|
My Code:
PHP Code:
// Retrieve Data From The Database $query = 'SELECT * FROM entries ORDER BY ID DESC';
// Run The Above MySQL Query $results = mysql_query($query);
// Fetch Results $arr_results = mysql_fetch_array($results);
foreach ($arr_results as $value) { echo $value['description']; }
and I get an output like this:
Database Structure Looks Like This:
Values Look Like:
------------------
I tried changing it to ID, description, name, everything and it gives me the same thing. Any thoughts?
__________________
Real Programmers always confuse Christmas and Halloween because Oct31 == Dec25 - Andrew Rutherford
Last edited by codefreek : 09-10-2009 at 12:34 AM.
Reason: ModNote: image resize was made.
|
|
|