I made this basic code but I got a Parse error: syntax error, unexpected 'INSERT' (T_STRING)
if anyone knows how to fix this please reply
here is the full code:
<?php
$info = $_post ['Strøm'];
$info1 = $_post ['Spenning'];
$info2 = "localhost";
$info3 = "root";
$info4 = "123";
$info5 = "rom 206";
$info6 = "skap1';
$link = mysqli_connect($info2, $info3, $info4, $info5);
mysqli_query($link, "INSERT INTO $info6 (`ID`, `Strøm`, `Spenning`)
VALUES ('', '$info', '$info1')");
echo "Data registering";
?>