DanielA Posted December 2, 2005 Report Share Posted December 2, 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. Quote Link to comment Share on other sites More sharing options...
olajideolaolorun Posted December 2, 2005 Report Share Posted December 2, 2005 Use '@' in front of the function. Quote Best Regards Olajide Olaolorun The Uniform Server Development Team Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.