Skip to content

Commit

Permalink
Add form for looking up transactions by number
Browse files Browse the repository at this point in the history
  • Loading branch information
jimwins committed Feb 8, 2011
1 parent ddf1441 commit 208addc
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions txns.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,18 @@
$criteria= '1=1';
}

/*
$q= $_GET['q'];
?>
<form method="get" action="<?=$_SERVER['PHP_SELF']?>">
<input id="focus" type="text" name="q" value="<?=htmlspecialchars($q)?>">
<input type="submit" value="Search">
<form method="get" action="txn.php">
<select name="type">
<option value="customer">Invoice
<option value="vendor">Purchase Order
<option value="internal">Internal
</select>
<input id="focus" type="text" name="number" value="">
<input type="submit" value="Look Up">
</form>
<br>
<?
*/

$q= "SELECT
txn.type AS meta,
Expand Down

0 comments on commit 208addc

Please sign in to comment.