vendredi 12 novembre 2021

unexpected 'if' (T_IF)

I have been getting this T_IF error, but I can't locate any syntax errors. Originally I had the ";" inside of the "" for the sql, but after fixing this the errors continued. I have tried clearing my cache just to be sure that isn't the problem, but no luck.

$sql = "INSERT INTO coinchaser (user, experience, levels, coins)
VALUES ('$coinUser', '$coinExperience', '$coinCoins', '$coinLevels')";

if ($conn->query($sql) === TRUE) {

Aucun commentaire:

Enregistrer un commentaire