-4
I’m using file .php but when I try to access the site it appears ?> at the top of the page and I’ve checked, has no tag without closing or something like that.
<?php
session_start();
include("conecta.php");
$pega_id = $_SESSION['usuario'];
$busca_id= "SELECT id FROM cadastro WHERE usuario = '$pega_id' ";
$resultado_id = mysqli_query($conn, $busca_id);
while($row_id = mysqli_fetch_assoc($resultado_id)){
$id = $row_id['id'];
}
?>
<!DOCTYPE html>
<html>
<head>
<title>Notas Fundamental</title> <!-- Título da página -->
<meta charset="utf-8">
<!--Serve para colocar acentuações na página -->
<link rel="icon" href="favicon.ico" type="icon">
<link rel="stylesheet" type="text/css" href="../css/exposoft.css" /> <!-- Linkando o css -->
<!-- Inserindo JavaScript na página -->
<script type="text/javascript" src="http://code.jquery.com/jquery-1.8.3.min.js"></script>
</head>
</html>