Save value in PHP Session variable
<p>I have an html table which contains records, comes from mysql db. Each row also contains id (PK) wrt db table record.
Now I want to save record id in <strong>PHP Session variable</strong>, when I click on a row.
To do this I used <strong>onclick</strong> property for each row &amp; call a javascript function with record id as function parameter &amp; it works fine but how could I save this id in <strong>PHP Session variable</strong> ?
Thanks.</p>
