Permalink
Browse files

Use correct name for search field

  • Loading branch information...
1 parent e35c30c commit dc04438d02f22a8d3db60165311617f41ec85484 @jimwins committed Mar 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 item.php
View
@@ -8,7 +8,7 @@
$id= (int)$_GET['id'];
?>
<form method="get" action="items.php">
-<input id="focus" type="text" name="code" value="<?=htmlspecialchars($code)?>">
+<input id="focus" type="text" name="q" value="<?=htmlspecialchars($code)?>">
<input type="submit" value="Find Items">
</form>
<br>

0 comments on commit dc04438

Please sign in to comment.