title: Fatal error: Uncaught ArgumentCountError
body: <p>I get this error. I created a button to update the table. When I click the button, I get an error. How to fix it?</p>
  
  <blockquote>
    <p>Fatal error: Uncaught ArgumentCountError: Too few arguments to function personel::update_form(), 0 passed in C:\xampp\htdocs\warehouse\panel\system\core\CodeIgniter.php on line 360 and exactly 1 expected in C:\xampp\htdocs\warehouse\panel\application\controllers\personel.php:57 Stack trace: #0 C:\xampp\htdocs\warehouse\panel\system\core\CodeIgniter.php(360): personel->update_form() #1 C:\xampp\htdocs\warehouse\panel\index.php(202): require_once('C:\xampp\htdocs...') #2 {main} thrown in C:\xampp\htdocs\warehouse\panel\application\controllers\personel.php on line 57</p>
  </blockquote>
  
  <p><strong>Fİle Name: personel.php</strong> <strong>Controller</strong></p>
  
  <p><strong>MY CODES</strong></p>
  
  <pre><code> public function update_form($id){
  
          $where = array( "id" =&gt; $id);
  
          $personel = $this-&gt;Personel_model-&gt;get($where);
  
          $viewData["personel"] = $personel;
  
  
          $this-&gt;load-&gt;view("personel_edit");
  
       }
  </code></pre>
  
  <p><strong>MY BUTTON CODES</strong></p>
  
  <pre><code> &lt;a href="&lt;?php echo base_url("personel/update_form"); ?&gt;" class="btn-sm btn-warning"&gt;Update &lt;/a&gt;
  </code></pre>