Salve a tutti,
non riesco ad usare require_once(), per usare un file esterno.
posto il codece va
file 1.php
Codice PHP:
<html>
<body>
<?php
require_once("2.php");
  
$strid getID();
  echo 
$strid;
?>
</body>
</html>
file 2.php quello che contiene la funzione
Codice PHP:
<?php
  
function getID(){
    return 
"165";
  }
?>
naturalmente è un codice di esempio, non serve a nulla.