Title: 2 PHP code widget in the same page
Last modified: January 4, 2017

---

# 2 PHP code widget in the same page

 *  Resolved [cynda](https://wordpress.org/support/users/cynda/)
 * (@cynda)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/2-php-code-widget-in-the-same-page/)
 * Hello,
 * I created 2 widgets using this plugin and each one is juste including one php
   file.
    when each one is included in a separate page, it works fine. when both
   are included in the same page, the second included one doesn’t execute mysql 
   requests. I am using avada 14. Can you help me please ?
 * Thank you in advance

Viewing 1 replies (of 1 total)

 *  Plugin Author [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [9 years, 3 months ago](https://wordpress.org/support/topic/2-php-code-widget-in-the-same-page/#post-8625608)
 * There is no issue with using 2 widgets on the same page. Any issues you have 
   are in your own code, not in the widget.

Viewing 1 replies (of 1 total)

The topic ‘2 PHP code widget in the same page’ is closed to new replies.

 * ![](https://ps.w.org/php-code-widget/assets/icon.svg?rev=992095)
 * [PHP Code Widget](https://wordpress.org/plugins/php-code-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/php-code-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/php-code-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/php-code-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/php-code-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/php-code-widget/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * Last activity: [9 years, 3 months ago](https://wordpress.org/support/topic/2-php-code-widget-in-the-same-page/#post-8625608)
 * Status: resolved