Hi. I am trying to insert mysql into include. Is this possible?
Current Code:
Code:
		
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']}";
		}
I am writing a wordpress plugin