I'm working on a app that requires a DB and I'm getting some problems, the code seems good but its only printing 1 row when I have 2, I have tested when I have it with 5 and I still get 1.
What I'm wanting to do is make an array of all the item_id's; I know I'm getting all fields at the moment but that was just for testing.
index.php:
<?php
mysql_connect('localhost', 'aaran', '*********');
mysql_select_db('aaran_aff_io');
$query = mysql_query("SELECT * FROM `items` WHERE `owner`='aaranmcguire'");
$results = mysql_fetch_array($query);
echo '<pre>';
print_r($results);
?>
DB:

DB Structure:
CREATE TABLE `items` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`item_id` int(11) NOT NULL,
`name` varchar(55) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`thumbnail` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`url` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`owner` varchar(55) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;