How do I get rid off dubble code???
Posted: Thu Aug 31, 2023 7:32 pm
Pleas see the exemple below.
It shows in my HTML page view.
the second session_start is not needed.
-----------------------------------------------------------------------------------------------------------
<?php
if (session_id() == "")
{
session_start();
}
require_once("wb.mysql.crud.php");
session_start();
if (!isset($_SESSION['username']))
----------------------------------------------------------
I dont know how it get there, but it should not.
please help.
It shows in my HTML page view.
the second session_start is not needed.
-----------------------------------------------------------------------------------------------------------
<?php
if (session_id() == "")
{
session_start();
}
require_once("wb.mysql.crud.php");
session_start();
if (!isset($_SESSION['username']))
----------------------------------------------------------
I dont know how it get there, but it should not.
please help.