Show table records in view via hook_form I managed to get things looking a bit better, However I dont know why the checkbox below is showing like the picture. I want to select the checkbox and make it do something with the corresponding article. By the way I have it, will it work? Thanks in advance.

`function rss_list_form($form, &amp;$form_state) {  

$results = db_query("SELECT * FROM {rss_table}");
$i = 0;
foreach($results AS $result) {

    $form[$i] = array(
        '#type' =&gt; 'checkbox',
        '#prefix' =&gt; '&lt;div style="float:left; margin: 30px;"&gt;',
        '#suffix' =&gt; '&lt;/div&gt;',
    );
    $form[$result-&gt;GUID] = array(
        '#type' =&gt; 'item',
        '#title' =&gt; $result-&gt;title,
        '#markup' =&gt; $result-&gt;description,
        '#prefix' =&gt; '&lt;div style="float:clear; background: #e0e2e6; border: 4px solid #c5c9cf; padding: 15px; width: auto; margin-left: 80px;"&gt;',
        '#suffix' =&gt; '&lt;/div&gt;',
    );
    $i++;
}
$form['submit'] = array(
    '#type' =&gt; 'submit',
    '#value' =&gt; t('Submit'),
);

return $form;


}`
I manage to get things working like I wanted !! So I will include a screenshot and the code for people on the same boat. 

function rss_list_form($form, $form_state) {

$header = array(
'article' =&gt; t('Article'),
);

$rows = array();
$sql = "SELECT * FROM {rss_table}";
$result = db_query($sql);
    foreach ($result as $dbrow) {
    $rows[$dbrow-&gt;GUID] = array(
        'article' =&gt;
        '&lt;h3&gt;'.$dbrow-&gt;title .'&lt;/h3&gt;'.'&lt;br&gt;'
        .'&lt;p&gt;'.$dbrow-&gt;description.'&lt;p&gt;'.'&lt;br&gt;'
        .$dbrow-&gt;date .'&lt;br&gt;'.'&lt;em&gt;'.$dbrow-&gt;link.'&lt;/em&gt;'.'&lt;br&gt;',
    );
    }
$form['rss_select'] = array(
    '#type' =&gt; 'tableselect',
    '#header' =&gt; $header,
    '#options' =&gt; $rows,
    '#empty' =&gt; t('No articles found.'),
);
$form['import'] = array(
    '#type' =&gt; 'button',
    '#value' =&gt; t('Import'),
    '#weight' =&gt; 0,
);
$form['submit'] = array(
    '#type' =&gt; 'submit',
    '#value' =&gt; t('Submit'),
);
$form['delete'] = array(
    '#type' =&gt; 'button',
    '#value' =&gt; t('Delete'),
);
return $form;


}