How to assign $_GET value via 'a href' : <p>This is what I've done so far, but the $_GET['c_id'] is not assigned (URL looks like this <code>http://localhost/srs_stuff.php?c_id=</code>
Results are surely stored in $r variable since c_name is normally displayed as clickable link with the name I want.</p>

<pre><code>foreach ($results as $r) {
    echo "&lt;a href='srs_stuff.php?c_id='" . $r['c_id'] . "&gt;" . $r['c_name'] . "&lt;/a&gt;&lt;/br&gt;";
}   
</code></pre>

<p>Even better solution would be, that the c_id would be set in SESSION variable, before redirection to new page. Is this possible?</p>
