I got this PHP Warning: mysqli_error() expects parameter 1 to be mysqli, null given in
I am lost
here is the code for the record.php:
$sql = "SELECT * FROM words where word_id='".$rows['word_id']."'";
$result = $conn->query($sql) or die($conn->error);
if ($result->num_rows > 0){
while($row = $result->fetch_assoc() )