Hi everyone here, I have a table that its content is what I have in DB (mine: easyPHP), here I wanted to edit the content of the table in browser & then by clicking the update button, I should get success to update the new information in my Data Base. in my <form> I've used POST method before for another purposes I had before, but now for UPDATE I need to use GET method. I'm actually new in PHP & PDO & everything. I think that I've tried myself to figure out how to write UPDATE query or how to use POST & GET method together, but when I run code , I get no Error! but also with no results. I get confused! I need your help.Thank you

here I show you my code (but not the full code, cause it's not necessary) :

this one is my form:
PHP Code:
        <form method="POST" action="index.php?get=variables">
            <table border="1 solid #000000">
                    <td>content of task</td>
<!--                    <td>Edit</td>-->
"SELECT id,title, content_task FROM `task` " ;
$query=$conn->prepare ($MyTask);
$query->execute( );
$task_panel $query->fetchAll(PDO::FETCH_ASSOC);
// print_r($task_panel);
                // Array ( [title] => web [0] => web [content_task] => task [1] => task )
                // Array ( [title] => web [content_task] => task )

                //                print_r ($query->fetchAll(PDO::FETCH_ASSOC));
                //                print_r($query->errorInfo());
$n 0;
//                print_r($task_panel);
foreach($task_panel as $row)
.++$n .'</td>
                                <td><p contenteditable>'
                                <td><p contenteditable>'
                                <td><input name="checkbox[]" type="checkbox" value="'
                               <!--<td><button name="edit[]" type="submit" value="'
                                <td><button name="update[]" type="submit" value="'

            <button type="submit" name="delete" value="delete">delete</button>
& this one is what I've tried to write the UPDATE query:

PHP Code:
//if (isset($_GET['update']))
$update $_GET['update'];

$up_id implode(','$update);
$upt "UPDATE  task SET `title` =:'title', `content_task`=:'content_task' WHERE id IN ($up_id)";
$upp $conn->prepare($upt);