show.php
'Edit' data functionality needed

i want to add an edit button in the 'view data' page.
when i click on edit button it redirects to edit_form button but shows
"Undefined variable: row in C:\wamp\www\template_12\edit_form.php on
line 21". Please help.