extract a field and the link to content from all nodes i have a content type and it stores user_email,title,body etc.

Every node has a URL alias. 

How can i go through all the node, and extract the email field + the URL of that node.

any clue  .
thanks
If you want get node of page content type ,you can try another content types

$type = "page"; // machine name for Basic Page
$nodes = node_load_multiple(array(), array('type' =&gt; $type)); 
$arr=array();
foreach($nodes as $node){
     arr[$node-&gt;nid]['email']= $node-&gt;field_email['und'][0]['value'];
     arr[$node-&gt;nid]['url_alias']= drupal_get_path_alias('node/'. $node-&gt;nid);
    }