LifeinAsia - 3:49 pm on Jul 14, 2011 (gmt 0)
Welcome [webmasterworld.com] to webmaster World!
Some ideas I have:
1) You may have a problem with name="light" in the checkbox tag. Never tried using non-alphanumeric values in a name- not sure they're legal.
2) Output the $query variable and make sure it's what you are expecting it to be.
3) Does any of the data in the Name field of findplantsdb have spaces, parentheses, or other non-alphanumeric characters?
4) If this is going to be a public web site, you definitely need to do some work to prevent SQL injection. Otherwise, someone could easily delete all the data in your table by adding some SQL code to the end of the link to categories.php