Skip to content

Instantly share code, notes, and snippets.

@web-zen
Created August 31, 2009 14:55
Show Gist options
  • Save web-zen/178498 to your computer and use it in GitHub Desktop.
Save web-zen/178498 to your computer and use it in GitHub Desktop.
mysqli_free_result() expects parameter 1 to be mysqli_result
$SQL = "UPDATE techdocs.xmldocs SET " . $_GET['Field'] . "='" . $_GET["FieldValue"] . "'" . " WHERE XMLDocID=" . $_GET["XMLDocID"];
$result = mysqli_query($oTechdocs,$SQL ) or die("Couldn't execute query.".mysqli_error($oTechdocs));
// echo $SQL;
mysqli_free_result($result);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment