$conn = mysqli_connect($servername, $username, $password, $dbname);
if (!$conn) {
die("Connection failed: " . mysqli_connect_error());
}
$sql = "UPDATE Cube SET xValue=15 WHERE Index=1";
mysqli_query($conn, $sql);
mysqli_close($conn);
This seems like it should be pretty straight forward, but for some reason, the xValue
field won't change, and I get no errors whatsoever. Been trying this for too long.