title: Whats wrong with my link?
body: <p>I am trying to echo a array value in a link, but it is coming up in dreamweaver as an error, but I cant work out what I have done wrong, can anyone tell me what is wrong with this line please ?.
  thanks :-)</p>
  
  <pre><code>echo '&lt;a href="index.php?option=com_chronoforms&amp;chronoform=deletelead&amp;token=echo $detail['cf_uid'];"&gt;&lt;/a&gt;';
  </code></pre>
  
  <p>EDIT >>>>>>>>>>>>>>>>>>>>>>>>
  THIS IS THE FULL CODE :</p>
  
  <pre><code>$result = mysql_query("SELECT * FROM hqfjt_chronoforms_data_addemailtemplate");
  while ($row = mysql_fetch_object($result)) {
      echo '&lt;div class="namerow"&gt;';
      echo '&lt;th&gt;';
      echo $row-&gt;emailformname;
      echo '&lt;/th&gt;';
      echo '&lt;/div&gt;';
      echo '&lt;div class="messagerow"&gt;';
      echo '&lt;th&gt;';
      echo $row-&gt;emailformmessage;
      echo '&lt;a href="index.php?option=com_chronoforms&amp;chronoform=deletelead&amp;token=echo        $detail[cf_uid]"&gt;dssd&lt;/a&gt;';
  
      echo '&lt;tr&gt;&lt;/tr&gt;';
      echo '&lt;/div&gt;';
  }
  echo '&lt;/th&gt;';
  mysql_free_result($result);
  </code></pre>
  
  <p>If I echo the cf_uid
      echo $row->cf_uid;
  this works fine and displays the unique id for each record next to it in the table, I just need to take that id thats is being echo'd and put in at the end of the link so that it looks like <a href="http://link&amp;token=2626382837728" rel="nofollow">http://link&amp;token=2626382837728</a> &lt;&lt; (cf_uid)</p>
  
  <hr>
  
  <p>FIXED !
  Thanks for everyone's help on this work, I worked out what was wrong in the end, what I thought was an array didn't appear to be, this code worked in the end >></p>
  
  <pre><code>$result = mysql_query("SELECT * FROM hqfjt_chronoforms_data_addemailtemplate");
  
  while ($row = mysql_fetch_object($result)) {
      echo '&lt;div class="namerow"&gt;';
      echo '&lt;th&gt;';
      echo $row-&gt;emailformname;
      echo '&lt;/th&gt;';
      echo '&lt;/div&gt;';
      echo '&lt;div class="messagerow"&gt;';
      echo '&lt;th&gt;';
      echo $row-&gt;emailformmessage;
      $id = $row-&gt;cf_uid;
      echo '&lt;a href="index.php?option=com_chronoforms&amp;chronoform=deletelead&amp;token=' . $id . '"&gt;LINK&lt;/a&gt;';
      echo '&lt;tr&gt;&lt;/tr&gt;';
      echo '&lt;/div&gt;';
  }
  echo '&lt;/th&gt;';
  mysql_free_result($result);
  </code></pre>