Hello everyone. Im new to the forum and trying to see if I can find why my database won’t update with mysqli_query.
Here is my code (mysqli_query is returning false):
[php] // Note: Everything is defined.
$folder = $input[1];
$name = $input[2];
$description = $input[3];
$version = $input[4];
$images = $input[5];
$author = $input[6];
$old_folder = $input[7];
$query = mysqli_query ( $DatabaseConnection, “UPDATE scripts SET Folder=’”.$folder."’, Name=’".$name."’, Description=’".$description."’,
Version=’".$version."’, Images=’".$images."’, author=’".$author."’ WHERE Folder=’".$old_folder."’" );
mta::doReturn ( $query );
//mta::doReturn ( $old_folder );[/php]