Get ID from a URL in drupal?
Try It works for me.    

$items['package/%/edit'] = array(
'title' =&gt; 'Edit data Row',
'page callback' =&gt; 'pricepackages_form_update',
'page arguments' =&gt;array(1),
'type' =&gt; MENU_NORMAL_ITEM,
'access callback' =&gt; TRUE,
);


function pricepackages_form_update($arg){
$my_object = db_select('your table name', 'a')
-&gt;fields('a')
-&gt;condition('your node id parameter', $arg )
-&gt;execute()
-&gt;fetchAssoc();
return drupal_get_form('your form menu', $my_object);
}