Jeżeli jesteśmy na /index.php to wczytaj zawartość tekst.php
tj. Jak to edytować?:
if ($_GET['index.php']) { include ("tekst.php"); }
Błąd jest oczywiście w ($_GET['index.php'])
Jeżeli jesteśmy na /index.php to wczytaj zawartość tekst.php
if ($_GET['index.php']) { include ("tekst.php"); }
<?php include('kupa.php'); ?>
<?php require_once('kupa.php'); ?>