Jump to content

kjetill6

New Members
  • Posts

    1
  • Joined

  • Last visited

kjetill6's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. 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"; ?>
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.