0 votes
56 views
by
php project errors given session already started error in php

2 Answers

0 votes
by (163k points)
 
Best answer
You can use ob_start(); at start of php page. e.g. index.php page.
0 votes
by
<?php
    if(!isset($_SESSION)) 
    { 
        session_start(); 
    } 
?>
Welcome to Memory Exceeded, where you can ask questions and receive answers from other members of the community.
You can donate any amount for Orphans village using following QR Code.
...