I get fatal error in this php coding. I'm a beginner so help me out

<?php $databaseHost = 'localhost'; $databaseName = 'bio-data'; $databaseUsername = 'root'; $databasePassword = ' '; $mysquli = mysqli_connecy($databaseHost,$databaseName,$databaseUsername,$databasePassword); ?>

Hello manoj,

There is a typo here.

mysqli_connecy($databaseHost,$databaseName,$databaseUsername,$databasePassword);

it should be ‘mysqli_connect’.

1 Like