title: Facebook share with dynamic text
body: <p>I'm doing: </p>
  
  <pre><code>$fb = "http://www.facebook.com/sharer.php?t=".$title."&amp;u=".$url;
  </code></pre>
  
  <p>That line is inside a while loop getting results from database.
  $url is always the same one but $title changes depending on the row. </p>
  
  <p>Now I build the links and when I click them, they always show in my Wall the </p>
  
  <pre><code>&lt;meta name="title" content=''&gt;
  </code></pre>
  
  <p>text from my main page and not the $title text. </p>
  
  <p>What can I do to fix this and share the text contained in $title? </p>
  
  <p>Here the code I'm trying with og. After hitting the link the share text in my Wall is "Google" instead of what is in my variables: </p>
  
  <pre><code>&lt;?php
  $tt = "Some text in the meta";
      $url_p = "http://www.google.com";
          $url = urlencode($url_p);
          $text = "Text I want to show";
          $title = urlencode($text);
  $fb = "http://www.facebook.com/sharer.php?t=".$title."&amp;u=".$url;
  ?&gt;
  &lt;meta property="og:title" content="&lt;?php echo $tt; ?&gt;"/&gt;
  
  &lt;a href="&lt;?php echo $fb; ?&gt;"&gt;share link&lt;/a&gt;
  </code></pre>