View Single Post
Old 09-09-2009, 10:28 PM   #3 (permalink)
Randy
The Acquainted
 
Randy's Avatar
 
Join Date: May 2007
Location: Your G/F's Closet
Posts: 114
Thanks: 7
Randy is on a distinguished road
Default

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:

Quote:
11EEssffLLLL22SSww

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.
Send a message via AIM to Randy Send a message via MSN to Randy
Randy is offline  
Reply With Quote