Hi. I am trying to insert mysql into include. Is this possible?
Current Code:
I am writing a wordpress pluginCode:function wp_head_intercept(){ global $wpdb; $result = mysql_query("SELECT * FROM wordpress_options WHERE option_name='sl_location'") or die(mysql_error()); $row = mysql_fetch_array( $result ); include "{$row['option_value']}"; }![]()



Reply With Quote
Bookmarks