rpjd
05-16-2011, 03:19 PM
I have the following ouput as part of a POST submit form. There are 3 types of users with own counters and submit button. I use the Username(session) and Line No to increase counter. How do I determine which line number a clicked button is on and how do I pass and access the Line number in $_POST? Counters 2 & 3 are also links to files containing name of users who clicked a certain button. In order to display the links(counters), I need identify the appropriate cell containing the counter by Line number and counter number. Should I id each counter like so id='".$LineNo."'Column' or is there a better way of going about this?
echo "<tr><td >".$LineNo."</td><td>".$Text."</td><td>Counter1</td><td>button1</td><td>Counter2</td><td>button2</td><td>Counter3</td><td><button3</td></tr>";
Hope this isn't too vague.
echo "<tr><td >".$LineNo."</td><td>".$Text."</td><td>Counter1</td><td>button1</td><td>Counter2</td><td>button2</td><td>Counter3</td><td><button3</td></tr>";
Hope this isn't too vague.