Good job .. but when i use the require of the fucntion.php in the header.php the app start crashing .. i tried everything checked the path , replaced require by include but still the same thing it always crashes
I am facing the problem Fatal error: uncaught mysqli_sql_exception error syntax on function.php:89 also on admins.php getAll('admins') can't get the return data to the admins.php. I already check the code many time they all are correct.
I faced an error in code.php and function.php , in code.php it was my typo and at function.php chatgpt regenerated the whole code when I explained my problem while showing my code of this 2 pages