$q = "SELECT * FROM urls WHERE site_id = '1'";
$data= $mysqli->query($q)->fetch_object();
$urls = array();
while($row = $data) {
array_push($urls,$row->site_url);
}
CREATE TABLE IF NOT EXISTS `urls` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`site_id` int(11) NOT NULL,
`site_url` varchar(190) NOT NULL,
`status_url` smallint NOT NULL,
PRIMARY KEY (`id`) )
ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;