Hello, i have created a db, and loaded a set of values into it via a text file! However the problem occurs when i try to extract data from the db via a keyword search from a html form. The result shud give a list of values that match the search key that is entered!
The error that i get is this:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /stud/ug/vxp00u/cgi-bin/viral/searchpage3result.cgi on line 33!
I would really appreciate it if some1 could point out where im goin wrong PLZ!
cheers mate, that helped me weed the error out in order for it to run, but i still cant get the search to work properly!
The form has a drop down selection menu with options, "letter", "term" and "meaning"! but when i enter a search letter, term or meaning, it says there are no results! BUT when i enter letter "a" in the feild and search it, the entire contents of the database is returned??