title: How to insert form information into html button with php
body: <p>Here's what I'm looking to accomplish. When a user creates a profile they fill out some information with a form. After they submit the form the information is displayed on their profile. One of the form fields is going to be a button that other users can click to do an action. To display the button this is the PHP I currently have:</p>
  
  <pre><code>add_action('kleo_bp_after_profile_name', 'my_profile_button');
  function my_profile_button()
  {
  echo '&lt;a href="#" class="success button radius show-for-small" rel="nofollow"&gt;Talk&lt;/a&gt;';
  }
  </code></pre>
  
  <p>I need to input the form information into the href="#" spot. Does anyone know a way around this?</p>
  
  <p>Thanks.</p>