Skip to content
Snippets Groups Projects
Commit c3efcab0 authored by DIALLO ABDOUL-AZIZ's avatar DIALLO ABDOUL-AZIZ
Browse files

has problem with var but I fix it

parent d7f9ad39
No related merge requests found
......@@ -9,6 +9,7 @@ if (!empty($_POST)) {
$imageFile = $_FILES["file-upload-field"];
if (isset($_GET["id"])) {
$id = intval($_GET["id"]);
$success = $project->updateProject($id, $projectName, $projectDescription, $textAltImg, $imageFile);
if ($success) {
// After completing the project update, redirect to the index page
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment