My website URL is: https://enderadel.net
What I’m seeing is:
function Test(){
$EnderDatabaseConnection = MySQLi_Connect($HostName, $UserName, $UserPassword, $DatabaseName);
$EnderQuery = "INSERT INTO TABLE_NAME (DATA) VALUES('$VALUE')";
if(mysqli_query($EnderDatabaseConnection, $EnderQuery)){
return true;
}else{
return false;
}
}
This function (Test()
) keeps retuning false because the insert of the data has failed. My code above is fine and all of the variables are defined and correct. But the process keeps failing, is there any SQL problems going on with the server?, thanks in advance for the help…
I’m using this software: InfinityFree, the free hosting plane , Cloudflare , Freenom.
Additional information: My SQL Hostname is sql113.epizy.com