how to suppress mysql warning
-
I tried to display data from mysql database in a page using php. I am using Php Exec(1.7) plugin. I enclosed my php code within <phpcode> tag.
I am successfully getting the data and rendered in the page. But the following warning also printed at the bottom of the page.Warning: mysql_real_escape_string(): 10 is not a valid MySQL-Link resource in C:\xampplite\htdocs\wordpress\wp-includes\wp-db.php on line 478
Warning: mysql_real_escape_string(): 10 is not a valid MySQL-Link resource in C:\xampplite\htdocs\wordpress\wp-includes\wp-db.php on line 478
Warning: mysql_error(): 10 is not a valid MySQL-Link resource in C:\xampplite\htdocs\wordpress\wp-includes\wp-db.php on line 713
What could be the problem and how to suppress it? Please help
The topic ‘how to suppress mysql warning’ is closed to new replies.