im after the simplest (and easiest to understand from a novice programmers perspective) to do the following;
I have a query on a database:
$newsquery = mysql_query('SELECT * FROM news ORDER BY id DESC LIMIT 3');
I want to to select the top three rows in my table and get the column 'news'
Then I need to save each result as a separate variable, this could be $news1, $news2 and $news3
So i could then use these variables to echo as needed on my page.
I hope this makes sense, many thanks .