dave
dave

Reputation: 1051

Checkbox in first cell of each row in an html table displaying mysql query results

I have a simple HTML table display of data that results from an MySQL query. I would like to have a checkbox in the first cell of each row.

I am asking for some suggestions as to where I might go looking for information on how to make this interactivity possible, as I'm sure this is not a "quick-answer" type of question.

Example: http://linux.softpedia.com/screenshots/phpMyAdmin_2.png

Upvotes: 1

Views: 3246

Answers (1)

Ignacio Vazquez-Abrams
Ignacio Vazquez-Abrams

Reputation: 798566

<input type="checkbox" name="rowid[]" value="<?= $row['id'] ?>" />

Upvotes: 1

Related Questions