flameproof
12th September 2009, 10:26
I have a simple static mysql DB and I like to display filtered data, so that a user can filter for certain data.
When I write the php like that I get the desired result:
$query="SELECT * FROM ccl WHERE thick >= 1 AND thick <= 2 ORDER BY thick, width ASC";
However, I like the use to input min/max numbers via a form. How can I do that?
Any link to a page that explains simple php form handling is appreciated too.
When I write the php like that I get the desired result:
$query="SELECT * FROM ccl WHERE thick >= 1 AND thick <= 2 ORDER BY thick, width ASC";
However, I like the use to input min/max numbers via a form. How can I do that?
Any link to a page that explains simple php form handling is appreciated too.