title: how to get value with in a loop and send to another page?
body: <p>I want to get the value of <code>$sched-&gt;start_time</code> and <code>$sched-&gt;end_time</code> and send them into the <code>next_page.php</code>.</p>
  
  <pre><code>&lt;?php 
   foreach($foo as $row){
   echo "
   &lt;tr&gt;
     &lt;td&gt;".$sched-&gt;start_time."&lt;/td&gt;
     &lt;td&gt;".$sched-&gt;end_time."&lt;/td&gt;
     &lt;td class='add'&gt;&lt;a class='add_sched' href='next_page.php'&gt;add new&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;";
   }
  ?&gt;
  </code></pre>
  
  <p>Output will look like this</p>
  
  <hr>
  
  <blockquote>
    <p>| 7:30 | 8:30  | *add   |<br>
     | 8:30 | 9:30  | *add   |<br>
     | 9:30 | 10:30 | *add   |</p>
  </blockquote>
  
  <p>and if I click on *add @ 8:30-9:30 that value will be send on the <code>next_page.php</code>
  how should I do that?</p>