December 2, 200520 yr comment_2005 Using :$query = "select clientname, jobnumber, Date, id from timesheets.stanger WHERE " . $what . " LIKE '%$SearchText%'"; I then do this:MYSQL_result($result,0,0); which gives thie warning is the page displayd output:Warning: mysql_result() [function.mysql-result]: Unable to jump to row 0 on MySQL result index 3 in W:\www\flash\test2.php on line 23 Everything works fine on this page,but when nothing is found from the 'search' then that warning message pops up. How do I turn off that warning message so it is not displayed in my webpage when there is a search that yeilds no results? I want errors to display just not a pointless warning. Report
December 2, 200520 yr comment_2006 Use '@' in front of the function. Best Regards Olajide Olaolorun The Uniform Server Development Team Report
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.