Title: Error SQL
Last modified: August 21, 2016

---

# Error SQL

 *  Resolved [marcoelitec98](https://wordpress.org/support/users/marcoelitec98/)
 * (@marcoelitec98)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/error-sql/)
 * After the update i’ve this error
 * Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given
   in C:\xampp\htdocs\Hedery\wp-content\plugins\insert-php\insert_php.php(48) : 
   eval()’d code on line 67
    Warning: mysql_num_rows() expects parameter 1 to be
   resource, boolean given in C:\xampp\htdocs\Hedery\wp-content\plugins\insert-php\
   insert_php.php(48) : eval()’d code on line 68
 * Why? How resolve it?
 * [https://wordpress.org/plugins/insert-php/](https://wordpress.org/plugins/insert-php/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [WillBontrager](https://wordpress.org/support/users/willbontrager/)
 * (@willbontrager)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/error-sql/#post-4820605)
 * Put what you now have between the [insert_php] and [/insert_php] into a separate
   file, but between <?php and ?> tags.
 * Upload the file to your server and load it into your browser.
 * Fix the errors that occur on that page.
 * When it runs OK in your separate PHP file, then it should also run OK with Insert
   PHP.
 * More information here:
 * [http://www.willmaster.com/software/WPplugins/insert-php-wordpress-plugin-instructions.php](http://www.willmaster.com/software/WPplugins/insert-php-wordpress-plugin-instructions.php)
 * Especially see the “Code Between Tags Must be Complete” and “Dealing with Error
   Messages” sections.
 * Will
 *  [WillBontrager](https://wordpress.org/support/users/willbontrager/)
 * (@willbontrager)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/error-sql/#post-4820849)
 * Because there has been no response, I’m assuming the original poster resolved
   the issue.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Error SQL’ is closed to new replies.

 * ![](https://ps.w.org/insert-php/assets/icon-256x256.gif?rev=3523853)
 * [Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts](https://wordpress.org/plugins/insert-php/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/insert-php/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/insert-php/)
 * [Active Topics](https://wordpress.org/support/plugin/insert-php/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/insert-php/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/insert-php/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [WillBontrager](https://wordpress.org/support/users/willbontrager/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/error-sql/#post-4820849)
 * Status: resolved