I got this error:
code: Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\wamp\www\fullc.php on line 29
I changed :
PHP code: $tableid = $_GET['id'];
to
PHP code: $tablecode = $_GET['code'];
and
PHP code: $query = "SELECT * FROM nmr WHERE id=$tableid";
to
PHP code: $query = "SELECT * FROM nmr WHERE code=$tablecode"; |