How to remove a record by id in Codeigniter












0















I am creating a function to remove a record in Codeigniter, but it is not working properly.



This is my buttons on properties_list



 <th>
<div><a title="Delete" class="delete btn btn-sm btn-danger pull-right '.$disabled.'" data-href="'.base_url('admin/properties/del/'.$row['id']).'" data-toggle="modal" data-target="#confirm-delete"> <i class="material-icons">delete</i></a></div>
</th>


And my function DELETE on my controller Properties_php



  public function del($id = 0){
$this->db->delete('ci_properties', array('propertie_id' => $id));
$this->session->set_flashdata('msg', 'Imóvel removido!');
redirect(base_url('admin/properties'));
}


enter image description here










share|improve this question



























    0















    I am creating a function to remove a record in Codeigniter, but it is not working properly.



    This is my buttons on properties_list



     <th>
    <div><a title="Delete" class="delete btn btn-sm btn-danger pull-right '.$disabled.'" data-href="'.base_url('admin/properties/del/'.$row['id']).'" data-toggle="modal" data-target="#confirm-delete"> <i class="material-icons">delete</i></a></div>
    </th>


    And my function DELETE on my controller Properties_php



      public function del($id = 0){
    $this->db->delete('ci_properties', array('propertie_id' => $id));
    $this->session->set_flashdata('msg', 'Imóvel removido!');
    redirect(base_url('admin/properties'));
    }


    enter image description here










    share|improve this question

























      0












      0








      0








      I am creating a function to remove a record in Codeigniter, but it is not working properly.



      This is my buttons on properties_list



       <th>
      <div><a title="Delete" class="delete btn btn-sm btn-danger pull-right '.$disabled.'" data-href="'.base_url('admin/properties/del/'.$row['id']).'" data-toggle="modal" data-target="#confirm-delete"> <i class="material-icons">delete</i></a></div>
      </th>


      And my function DELETE on my controller Properties_php



        public function del($id = 0){
      $this->db->delete('ci_properties', array('propertie_id' => $id));
      $this->session->set_flashdata('msg', 'Imóvel removido!');
      redirect(base_url('admin/properties'));
      }


      enter image description here










      share|improve this question














      I am creating a function to remove a record in Codeigniter, but it is not working properly.



      This is my buttons on properties_list



       <th>
      <div><a title="Delete" class="delete btn btn-sm btn-danger pull-right '.$disabled.'" data-href="'.base_url('admin/properties/del/'.$row['id']).'" data-toggle="modal" data-target="#confirm-delete"> <i class="material-icons">delete</i></a></div>
      </th>


      And my function DELETE on my controller Properties_php



        public function del($id = 0){
      $this->db->delete('ci_properties', array('propertie_id' => $id));
      $this->session->set_flashdata('msg', 'Imóvel removido!');
      redirect(base_url('admin/properties'));
      }


      enter image description here







      php mysql codeigniter






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 22 '18 at 0:46









      MKOTMKOT

      181215




      181215
























          8 Answers
          8






          active

          oldest

          votes


















          0














          try this:



          <a title="Delete" class="delete btn btn-sm btn-danger pull-right '.$disabled.'" data-href="<?php echo base_url('admin/properties/del/'.$row['id']);?>" data-toggle="modal" data-target="#confirm-delete"> <i class="material-icons">delete</i></a>





          share|improve this answer































            0














            define a var like $url
            then place it in the href tag



             <th>
            <div>
            <?php $url = base_url('admin/properties/del/'.$row['id']);?>
            <a title="Delete" class="delete btn btn-sm btn-danger pull-right '.$disabled.'"
            data-href="<?=$url?>" data-toggle="modal" data-target="#confirm-delete"> <i
            class="material-icons">delete</i></a>
            </div>
            </th>





            share|improve this answer































              0














              Try this:



              <a href="<?php 
              echo base_url();
              ?>/admin/properties/del/<?php
              echo $row['id'];
              ?>" type="button" class="btn btn-danger" style="margin-left: 5px;">Delete</a>





              share|improve this answer


























              • Can you add some explanation to your code such that others can learn from it?

                – Nico Haase
                Nov 22 '18 at 7:20



















              0














              <th>
              <div><a title="Delete" class="delete btn btn-sm btn-danger pull-right '.$disabled.'" data-href="<?php echo base_url();?>admin/properties/del/<?php echo $row['id']; ?>" data-toggle="modal" data-target="#confirm-delete"> <i class="material-icons">delete</i></a></div>
              </th>


              if this gives you an error, maybe your controller name doesn't match with link in data-href.






              share|improve this answer































                0














                Try this:



                <th>
                <div>
                <a title="Delete"
                class="delete btn btn-sm btn-danger pull-right <?=$disabled?>"
                data-href="<?=site_url('admin/properties/del/'.$row['id'])?>"
                data-toggle="modal"
                data-target="#confirm-delete">
                <i class="material-icons">delete</i>
                </a>
                </div>
                </th>





                share|improve this answer

































                  0














                  Try the Below code
                  delete



                  function fnDelete(id)
                  {
                  $.ajax({
                  url: "<?php echo site_url('admin/properties/del'); ?>",
                  method: 'POST',
                  data: { Autoid: id },
                  success:function(result) {

                  window.location.href= "<?php echo site_url('admin/properties'); ?>";
                  }
                  });
                  }

                  public function del(){
                  $id=$this->input->post('Autoid');
                  $this->db->delete('ci_properties', array('propertie_id' => $id));
                  $this->session->set_flashdata('msg', 'Imóvel removido!');
                  redirect(base_url('admin/properties'));
                  }





                  share|improve this answer































                    0














                    In your initial request you are sending unprocessed PHP as the url.



                    use



                    <?= $variable;?>
                    <?= function();?>


                    to process the link contents in the php view.






                    share|improve this answer































                      0














                      I solved like this



                       <div><a title="Delete" class="delete btn btn-sm btn-danger pull-right '.$disabled.'" data-href="<?php echo base_url('admin/properties/del/'.$properties['propertie_id']);?>" data-toggle="modal" data-target="#confirm-delete"> <i class="material-icons">delete</i></a></div> 





                      share|improve this answer























                        Your Answer






                        StackExchange.ifUsing("editor", function () {
                        StackExchange.using("externalEditor", function () {
                        StackExchange.using("snippets", function () {
                        StackExchange.snippets.init();
                        });
                        });
                        }, "code-snippets");

                        StackExchange.ready(function() {
                        var channelOptions = {
                        tags: "".split(" "),
                        id: "1"
                        };
                        initTagRenderer("".split(" "), "".split(" "), channelOptions);

                        StackExchange.using("externalEditor", function() {
                        // Have to fire editor after snippets, if snippets enabled
                        if (StackExchange.settings.snippets.snippetsEnabled) {
                        StackExchange.using("snippets", function() {
                        createEditor();
                        });
                        }
                        else {
                        createEditor();
                        }
                        });

                        function createEditor() {
                        StackExchange.prepareEditor({
                        heartbeatType: 'answer',
                        autoActivateHeartbeat: false,
                        convertImagesToLinks: true,
                        noModals: true,
                        showLowRepImageUploadWarning: true,
                        reputationToPostImages: 10,
                        bindNavPrevention: true,
                        postfix: "",
                        imageUploader: {
                        brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
                        contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
                        allowUrls: true
                        },
                        onDemand: true,
                        discardSelector: ".discard-answer"
                        ,immediatelyShowMarkdownHelp:true
                        });


                        }
                        });














                        draft saved

                        draft discarded


















                        StackExchange.ready(
                        function () {
                        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53422427%2fhow-to-remove-a-record-by-id-in-codeigniter%23new-answer', 'question_page');
                        }
                        );

                        Post as a guest















                        Required, but never shown

























                        8 Answers
                        8






                        active

                        oldest

                        votes








                        8 Answers
                        8






                        active

                        oldest

                        votes









                        active

                        oldest

                        votes






                        active

                        oldest

                        votes









                        0














                        try this:



                        <a title="Delete" class="delete btn btn-sm btn-danger pull-right '.$disabled.'" data-href="<?php echo base_url('admin/properties/del/'.$row['id']);?>" data-toggle="modal" data-target="#confirm-delete"> <i class="material-icons">delete</i></a>





                        share|improve this answer




























                          0














                          try this:



                          <a title="Delete" class="delete btn btn-sm btn-danger pull-right '.$disabled.'" data-href="<?php echo base_url('admin/properties/del/'.$row['id']);?>" data-toggle="modal" data-target="#confirm-delete"> <i class="material-icons">delete</i></a>





                          share|improve this answer


























                            0












                            0








                            0







                            try this:



                            <a title="Delete" class="delete btn btn-sm btn-danger pull-right '.$disabled.'" data-href="<?php echo base_url('admin/properties/del/'.$row['id']);?>" data-toggle="modal" data-target="#confirm-delete"> <i class="material-icons">delete</i></a>





                            share|improve this answer













                            try this:



                            <a title="Delete" class="delete btn btn-sm btn-danger pull-right '.$disabled.'" data-href="<?php echo base_url('admin/properties/del/'.$row['id']);?>" data-toggle="modal" data-target="#confirm-delete"> <i class="material-icons">delete</i></a>






                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered Nov 22 '18 at 4:41









                            PHP GeekPHP Geek

                            1,3511718




                            1,3511718

























                                0














                                define a var like $url
                                then place it in the href tag



                                 <th>
                                <div>
                                <?php $url = base_url('admin/properties/del/'.$row['id']);?>
                                <a title="Delete" class="delete btn btn-sm btn-danger pull-right '.$disabled.'"
                                data-href="<?=$url?>" data-toggle="modal" data-target="#confirm-delete"> <i
                                class="material-icons">delete</i></a>
                                </div>
                                </th>





                                share|improve this answer




























                                  0














                                  define a var like $url
                                  then place it in the href tag



                                   <th>
                                  <div>
                                  <?php $url = base_url('admin/properties/del/'.$row['id']);?>
                                  <a title="Delete" class="delete btn btn-sm btn-danger pull-right '.$disabled.'"
                                  data-href="<?=$url?>" data-toggle="modal" data-target="#confirm-delete"> <i
                                  class="material-icons">delete</i></a>
                                  </div>
                                  </th>





                                  share|improve this answer


























                                    0












                                    0








                                    0







                                    define a var like $url
                                    then place it in the href tag



                                     <th>
                                    <div>
                                    <?php $url = base_url('admin/properties/del/'.$row['id']);?>
                                    <a title="Delete" class="delete btn btn-sm btn-danger pull-right '.$disabled.'"
                                    data-href="<?=$url?>" data-toggle="modal" data-target="#confirm-delete"> <i
                                    class="material-icons">delete</i></a>
                                    </div>
                                    </th>





                                    share|improve this answer













                                    define a var like $url
                                    then place it in the href tag



                                     <th>
                                    <div>
                                    <?php $url = base_url('admin/properties/del/'.$row['id']);?>
                                    <a title="Delete" class="delete btn btn-sm btn-danger pull-right '.$disabled.'"
                                    data-href="<?=$url?>" data-toggle="modal" data-target="#confirm-delete"> <i
                                    class="material-icons">delete</i></a>
                                    </div>
                                    </th>






                                    share|improve this answer












                                    share|improve this answer



                                    share|improve this answer










                                    answered Nov 22 '18 at 6:39









                                    JustinJustin

                                    664




                                    664























                                        0














                                        Try this:



                                        <a href="<?php 
                                        echo base_url();
                                        ?>/admin/properties/del/<?php
                                        echo $row['id'];
                                        ?>" type="button" class="btn btn-danger" style="margin-left: 5px;">Delete</a>





                                        share|improve this answer


























                                        • Can you add some explanation to your code such that others can learn from it?

                                          – Nico Haase
                                          Nov 22 '18 at 7:20
















                                        0














                                        Try this:



                                        <a href="<?php 
                                        echo base_url();
                                        ?>/admin/properties/del/<?php
                                        echo $row['id'];
                                        ?>" type="button" class="btn btn-danger" style="margin-left: 5px;">Delete</a>





                                        share|improve this answer


























                                        • Can you add some explanation to your code such that others can learn from it?

                                          – Nico Haase
                                          Nov 22 '18 at 7:20














                                        0












                                        0








                                        0







                                        Try this:



                                        <a href="<?php 
                                        echo base_url();
                                        ?>/admin/properties/del/<?php
                                        echo $row['id'];
                                        ?>" type="button" class="btn btn-danger" style="margin-left: 5px;">Delete</a>





                                        share|improve this answer















                                        Try this:



                                        <a href="<?php 
                                        echo base_url();
                                        ?>/admin/properties/del/<?php
                                        echo $row['id'];
                                        ?>" type="button" class="btn btn-danger" style="margin-left: 5px;">Delete</a>






                                        share|improve this answer














                                        share|improve this answer



                                        share|improve this answer








                                        edited Nov 22 '18 at 8:10









                                        Ahmad

                                        8,27543663




                                        8,27543663










                                        answered Nov 22 '18 at 5:27









                                        ManiMani

                                        34726




                                        34726













                                        • Can you add some explanation to your code such that others can learn from it?

                                          – Nico Haase
                                          Nov 22 '18 at 7:20



















                                        • Can you add some explanation to your code such that others can learn from it?

                                          – Nico Haase
                                          Nov 22 '18 at 7:20

















                                        Can you add some explanation to your code such that others can learn from it?

                                        – Nico Haase
                                        Nov 22 '18 at 7:20





                                        Can you add some explanation to your code such that others can learn from it?

                                        – Nico Haase
                                        Nov 22 '18 at 7:20











                                        0














                                        <th>
                                        <div><a title="Delete" class="delete btn btn-sm btn-danger pull-right '.$disabled.'" data-href="<?php echo base_url();?>admin/properties/del/<?php echo $row['id']; ?>" data-toggle="modal" data-target="#confirm-delete"> <i class="material-icons">delete</i></a></div>
                                        </th>


                                        if this gives you an error, maybe your controller name doesn't match with link in data-href.






                                        share|improve this answer




























                                          0














                                          <th>
                                          <div><a title="Delete" class="delete btn btn-sm btn-danger pull-right '.$disabled.'" data-href="<?php echo base_url();?>admin/properties/del/<?php echo $row['id']; ?>" data-toggle="modal" data-target="#confirm-delete"> <i class="material-icons">delete</i></a></div>
                                          </th>


                                          if this gives you an error, maybe your controller name doesn't match with link in data-href.






                                          share|improve this answer


























                                            0












                                            0








                                            0







                                            <th>
                                            <div><a title="Delete" class="delete btn btn-sm btn-danger pull-right '.$disabled.'" data-href="<?php echo base_url();?>admin/properties/del/<?php echo $row['id']; ?>" data-toggle="modal" data-target="#confirm-delete"> <i class="material-icons">delete</i></a></div>
                                            </th>


                                            if this gives you an error, maybe your controller name doesn't match with link in data-href.






                                            share|improve this answer













                                            <th>
                                            <div><a title="Delete" class="delete btn btn-sm btn-danger pull-right '.$disabled.'" data-href="<?php echo base_url();?>admin/properties/del/<?php echo $row['id']; ?>" data-toggle="modal" data-target="#confirm-delete"> <i class="material-icons">delete</i></a></div>
                                            </th>


                                            if this gives you an error, maybe your controller name doesn't match with link in data-href.







                                            share|improve this answer












                                            share|improve this answer



                                            share|improve this answer










                                            answered Nov 22 '18 at 8:44









                                            Rizki MasjahriRizki Masjahri

                                            214




                                            214























                                                0














                                                Try this:



                                                <th>
                                                <div>
                                                <a title="Delete"
                                                class="delete btn btn-sm btn-danger pull-right <?=$disabled?>"
                                                data-href="<?=site_url('admin/properties/del/'.$row['id'])?>"
                                                data-toggle="modal"
                                                data-target="#confirm-delete">
                                                <i class="material-icons">delete</i>
                                                </a>
                                                </div>
                                                </th>





                                                share|improve this answer






























                                                  0














                                                  Try this:



                                                  <th>
                                                  <div>
                                                  <a title="Delete"
                                                  class="delete btn btn-sm btn-danger pull-right <?=$disabled?>"
                                                  data-href="<?=site_url('admin/properties/del/'.$row['id'])?>"
                                                  data-toggle="modal"
                                                  data-target="#confirm-delete">
                                                  <i class="material-icons">delete</i>
                                                  </a>
                                                  </div>
                                                  </th>





                                                  share|improve this answer




























                                                    0












                                                    0








                                                    0







                                                    Try this:



                                                    <th>
                                                    <div>
                                                    <a title="Delete"
                                                    class="delete btn btn-sm btn-danger pull-right <?=$disabled?>"
                                                    data-href="<?=site_url('admin/properties/del/'.$row['id'])?>"
                                                    data-toggle="modal"
                                                    data-target="#confirm-delete">
                                                    <i class="material-icons">delete</i>
                                                    </a>
                                                    </div>
                                                    </th>





                                                    share|improve this answer















                                                    Try this:



                                                    <th>
                                                    <div>
                                                    <a title="Delete"
                                                    class="delete btn btn-sm btn-danger pull-right <?=$disabled?>"
                                                    data-href="<?=site_url('admin/properties/del/'.$row['id'])?>"
                                                    data-toggle="modal"
                                                    data-target="#confirm-delete">
                                                    <i class="material-icons">delete</i>
                                                    </a>
                                                    </div>
                                                    </th>






                                                    share|improve this answer














                                                    share|improve this answer



                                                    share|improve this answer








                                                    edited Nov 22 '18 at 9:52









                                                    Philipp Kief

                                                    2,79212232




                                                    2,79212232










                                                    answered Nov 22 '18 at 4:28









                                                    Vijay SharmaVijay Sharma

                                                    668610




                                                    668610























                                                        0














                                                        Try the Below code
                                                        delete



                                                        function fnDelete(id)
                                                        {
                                                        $.ajax({
                                                        url: "<?php echo site_url('admin/properties/del'); ?>",
                                                        method: 'POST',
                                                        data: { Autoid: id },
                                                        success:function(result) {

                                                        window.location.href= "<?php echo site_url('admin/properties'); ?>";
                                                        }
                                                        });
                                                        }

                                                        public function del(){
                                                        $id=$this->input->post('Autoid');
                                                        $this->db->delete('ci_properties', array('propertie_id' => $id));
                                                        $this->session->set_flashdata('msg', 'Imóvel removido!');
                                                        redirect(base_url('admin/properties'));
                                                        }





                                                        share|improve this answer




























                                                          0














                                                          Try the Below code
                                                          delete



                                                          function fnDelete(id)
                                                          {
                                                          $.ajax({
                                                          url: "<?php echo site_url('admin/properties/del'); ?>",
                                                          method: 'POST',
                                                          data: { Autoid: id },
                                                          success:function(result) {

                                                          window.location.href= "<?php echo site_url('admin/properties'); ?>";
                                                          }
                                                          });
                                                          }

                                                          public function del(){
                                                          $id=$this->input->post('Autoid');
                                                          $this->db->delete('ci_properties', array('propertie_id' => $id));
                                                          $this->session->set_flashdata('msg', 'Imóvel removido!');
                                                          redirect(base_url('admin/properties'));
                                                          }





                                                          share|improve this answer


























                                                            0












                                                            0








                                                            0







                                                            Try the Below code
                                                            delete



                                                            function fnDelete(id)
                                                            {
                                                            $.ajax({
                                                            url: "<?php echo site_url('admin/properties/del'); ?>",
                                                            method: 'POST',
                                                            data: { Autoid: id },
                                                            success:function(result) {

                                                            window.location.href= "<?php echo site_url('admin/properties'); ?>";
                                                            }
                                                            });
                                                            }

                                                            public function del(){
                                                            $id=$this->input->post('Autoid');
                                                            $this->db->delete('ci_properties', array('propertie_id' => $id));
                                                            $this->session->set_flashdata('msg', 'Imóvel removido!');
                                                            redirect(base_url('admin/properties'));
                                                            }





                                                            share|improve this answer













                                                            Try the Below code
                                                            delete



                                                            function fnDelete(id)
                                                            {
                                                            $.ajax({
                                                            url: "<?php echo site_url('admin/properties/del'); ?>",
                                                            method: 'POST',
                                                            data: { Autoid: id },
                                                            success:function(result) {

                                                            window.location.href= "<?php echo site_url('admin/properties'); ?>";
                                                            }
                                                            });
                                                            }

                                                            public function del(){
                                                            $id=$this->input->post('Autoid');
                                                            $this->db->delete('ci_properties', array('propertie_id' => $id));
                                                            $this->session->set_flashdata('msg', 'Imóvel removido!');
                                                            redirect(base_url('admin/properties'));
                                                            }






                                                            share|improve this answer












                                                            share|improve this answer



                                                            share|improve this answer










                                                            answered Nov 22 '18 at 11:59









                                                            Brindha BaskaranBrindha Baskaran

                                                            9311




                                                            9311























                                                                0














                                                                In your initial request you are sending unprocessed PHP as the url.



                                                                use



                                                                <?= $variable;?>
                                                                <?= function();?>


                                                                to process the link contents in the php view.






                                                                share|improve this answer




























                                                                  0














                                                                  In your initial request you are sending unprocessed PHP as the url.



                                                                  use



                                                                  <?= $variable;?>
                                                                  <?= function();?>


                                                                  to process the link contents in the php view.






                                                                  share|improve this answer


























                                                                    0












                                                                    0








                                                                    0







                                                                    In your initial request you are sending unprocessed PHP as the url.



                                                                    use



                                                                    <?= $variable;?>
                                                                    <?= function();?>


                                                                    to process the link contents in the php view.






                                                                    share|improve this answer













                                                                    In your initial request you are sending unprocessed PHP as the url.



                                                                    use



                                                                    <?= $variable;?>
                                                                    <?= function();?>


                                                                    to process the link contents in the php view.







                                                                    share|improve this answer












                                                                    share|improve this answer



                                                                    share|improve this answer










                                                                    answered Nov 22 '18 at 21:07









                                                                    AlunRAlunR

                                                                    425310




                                                                    425310























                                                                        0














                                                                        I solved like this



                                                                         <div><a title="Delete" class="delete btn btn-sm btn-danger pull-right '.$disabled.'" data-href="<?php echo base_url('admin/properties/del/'.$properties['propertie_id']);?>" data-toggle="modal" data-target="#confirm-delete"> <i class="material-icons">delete</i></a></div> 





                                                                        share|improve this answer




























                                                                          0














                                                                          I solved like this



                                                                           <div><a title="Delete" class="delete btn btn-sm btn-danger pull-right '.$disabled.'" data-href="<?php echo base_url('admin/properties/del/'.$properties['propertie_id']);?>" data-toggle="modal" data-target="#confirm-delete"> <i class="material-icons">delete</i></a></div> 





                                                                          share|improve this answer


























                                                                            0












                                                                            0








                                                                            0







                                                                            I solved like this



                                                                             <div><a title="Delete" class="delete btn btn-sm btn-danger pull-right '.$disabled.'" data-href="<?php echo base_url('admin/properties/del/'.$properties['propertie_id']);?>" data-toggle="modal" data-target="#confirm-delete"> <i class="material-icons">delete</i></a></div> 





                                                                            share|improve this answer













                                                                            I solved like this



                                                                             <div><a title="Delete" class="delete btn btn-sm btn-danger pull-right '.$disabled.'" data-href="<?php echo base_url('admin/properties/del/'.$properties['propertie_id']);?>" data-toggle="modal" data-target="#confirm-delete"> <i class="material-icons">delete</i></a></div> 






                                                                            share|improve this answer












                                                                            share|improve this answer



                                                                            share|improve this answer










                                                                            answered Nov 22 '18 at 22:30









                                                                            MKOTMKOT

                                                                            181215




                                                                            181215






























                                                                                draft saved

                                                                                draft discarded




















































                                                                                Thanks for contributing an answer to Stack Overflow!


                                                                                • Please be sure to answer the question. Provide details and share your research!

                                                                                But avoid



                                                                                • Asking for help, clarification, or responding to other answers.

                                                                                • Making statements based on opinion; back them up with references or personal experience.


                                                                                To learn more, see our tips on writing great answers.




                                                                                draft saved


                                                                                draft discarded














                                                                                StackExchange.ready(
                                                                                function () {
                                                                                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53422427%2fhow-to-remove-a-record-by-id-in-codeigniter%23new-answer', 'question_page');
                                                                                }
                                                                                );

                                                                                Post as a guest















                                                                                Required, but never shown





















































                                                                                Required, but never shown














                                                                                Required, but never shown












                                                                                Required, but never shown







                                                                                Required, but never shown

































                                                                                Required, but never shown














                                                                                Required, but never shown












                                                                                Required, but never shown







                                                                                Required, but never shown







                                                                                Popular posts from this blog

                                                                                'app-layout' is not a known element: how to share Component with different Modules

                                                                                android studio warns about leanback feature tag usage required on manifest while using Unity exported app?

                                                                                WPF add header to Image with URL pettitions [duplicate]