I have a list of posts and a link editfor each. When clicked, editit goes to a page where I can edit the specific entry that I clicked on. To do this, I will have to extract the message identifier from db.
Would this be the right way?
<a href="<?php echo site_url("post/edit/$row->id"); ?>">Edit</a>
post- my controller, edit- is my function, but $row->idshould output a message identifier.
source
share