Right now I'm doing a feedback system for my FYP. While I'm at it, I got this sudden error. I've installed php and xampp just to inform.
This is what the page error says:
Fatal error: Uncaught Error: Call to undefined function mysqli_connect() in C:\xampp\htdocs\osfs\signup.php:7 Stack trace: #0 {main} thrown in C:\xampp\htdocs\osfs\signup.php on line 7
I've tried checking other tutorials/guides and reviewing my code a couple times but I'm still clueless. What's even more frustrating is I need to fully complete this FYP work before due date that is in the next few days.
<?php
$server_name="localhost";
$username="apiz";
$password="";
$database_name="osfs";
$conn=mysqli_connect($server_name,$username,$password,$database_name);
Line 7 would refer to the last line here.
I'm currently stuck at this so if anyone could lend a hand or teach me on this, I'd really appreciate it.
Thank you. - Coding noob who doesn't want to fail his FYP