title: what is "Parse error: syntax error, unexpected '>' in example2.php"
body: <p>im not really good with php but im trying to learn how crawler functions. im trying to apply what i learn about crawler in this site <a href="http://www.makeuseof.com/tag/build-basic-web-crawler-pull-information-website/" rel="nofollow">http://www.makeuseof.com/tag/build-basic-web-crawler-pull-information-website/</a></p>
  
  <p>everything works great until i proceed on example2. i got this error </p>
  
  <p><strong>Parse error: syntax error, unexpected '>' in example2.php on line 7</strong></p>
  
  <p>from this code</p>
  
  <pre><code>&lt;?php
  include_once('simple_html_dom.php');
  $target_url = “localhost/wordpress”;
  $html = new simple_html_dom();
  $html-&gt;load_file($target_url);
  foreach($html-&gt;find(‘a’) as $link){
  echo $link-&gt;href.”&lt;br/&gt;”;
  }
  ?&gt;
  </code></pre>
  
  <p>i know this is a simple php but for a noob like me im not sure where should i look into. hope u can help. thank you</p>