Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Need help with my delete button
Post: RE: Need help with my delete button

paulbalandanThank you so much this is what worked for me becuase i did figure out if you echo news['id Wrote: -- it gives the id but i did not know how to to get it in my controller THANKS pid='38567...
2,639 Views
4 Replies
03-31-2021, 08:59 AM
sheldon
    Thread: Need help with my delete button
Post: RE: Need help with my delete button

[email protected] Wrote: (03-31-2021, 05:34 AM) -- Hi The code you have written is basically the start of a CRUD type project. CRUD stands for Create, Read (view), Update and Delete. It...
2,639 Views
4 Replies
03-31-2021, 05:55 AM
sheldon
    Thread: Need help with my delete button
Post: Need help with my delete button

im trying to delete a post  here is my code  controler  Code: -- Delete -- if you look at my controler you can see i pass in  Code: --   $model->where('id',1 )->delete(); -- ...
2,639 Views
4 Replies
03-31-2021, 01:26 AM
sheldon

Theme © iAndrew 2016 - Forum software by © MyBB