Here I attached my code
<?php
session_start();
global $wpdb;
$msg2 = " ";
$msg1 = " ";
if(isset($_SESSION['msg2'])){
$msg2 = $_SESSION['msg2'];
echo "<script> alert( ' $msg2 ' ); </script> ";
}
?>
I got below error
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /homepages/2/d213994292/htdocs/pub_site/wordpress/wp-content/themes/wp-visual106/header.php:3) in /homepages/2/d213994292/htdocs/pub_site/wordpress/wp-content/plugins/php-code-widget/execphp.php(27) : eval()'d code on line 2
How to solve these.please anyone help me..