Title: Execute PHP Code
Last modified: June 23, 2023

---

# Execute PHP Code

 *  Resolved [froggiesonthetravel](https://wordpress.org/support/users/froggiesonthetravel/)
 * (@froggiesonthetravel)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/execute-php-code-2/)
 * In one of columns in my table database i want to have a php function call
   ex:
 *     ```wp-block-code
       <?php echo display_photo_if_exist('1','John Cena'); ?>
       ```
   
 * Where can i find the function in which i want the function to execute, because
   at the moment this text is commented out and after load table look this:
 *     ```wp-block-code
       <td class="  conqueror_photo wpda_format_string">
       "<!--?php echo display_photo_if_exist('1','John Cena'); ?-->"
       </td>
       ```
   

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Kim L](https://wordpress.org/support/users/kimmyx/)
 * (@kimmyx)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/execute-php-code-2/#post-16847397)
 * Hi [@froggiesonthetravel](https://wordpress.org/support/users/froggiesonthetravel/),
 * It’s not possible to execute a PHP function inside a column.
 * Could you take a look at [Dynamic Hyperlinks | WP Data Access](https://wpdataaccess.com/docs/data-explorer-settings/dynamic-hyperlinks/)
   and see if this could be a substitute to what you’re trying to do?
 * Let us know. 🙂

Viewing 1 replies (of 1 total)

The topic ‘Execute PHP Code’ is closed to new replies.

 * ![](https://ps.w.org/wp-data-access/assets/icon-256x256.png?rev=3299063)
 * [WP Data Access – App Builder for Tables, Forms, Charts, Maps & Dashboards](https://wordpress.org/plugins/wp-data-access/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-data-access/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-data-access/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-data-access/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-data-access/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Kim L](https://wordpress.org/support/users/kimmyx/)
 * Last activity: [2 years, 11 months ago](https://wordpress.org/support/topic/execute-php-code-2/#post-16847397)
 * Status: resolved