Podczas edycji BD wyświetla mi się błąd: Undefined variable: IdOdebrane in C:\wamp\www\poczta\edit_form.php on line 19
Nie wiem co jest źle? :/
edycja.php
<?php include ("db_fns.php"); db_connect(); $order = "SELECT * FROM odbierzpoczte"; } ?>
edit form.php
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Form Edit Data</title> </head> <body> <table border=1> <tr> <td align=center>Form Edit Employees Data</td> </tr> <tr> <td> <table> <?php include ("db_fns.php"); db_connect(); $order = "SELECT * FROM odbierzpoczte WHERE IdOdebrane='$IdOdebrane'"; //TO JEST TA LINIKA 19 ?> <form method="post" action="edit_data.php"> <tr> <td>Nazwa Adresata</td> <td> <input type="text" name="NazwaAdresata" </td> </tr> <tr> <td>Znak pisma</td> <td> <input type="text" name="ZnakPisma" size="40" </td> </tr> <tr> <td align="right"> <input type="submit" name="submit value" value="Edit"> </td> </tr> </form> </table> </td> </tr> </table> </body> </html>