Note, all the files are under the /var/www/cakephp directory /app/views/posts/index.ctpBlog posts
link('Add Post',array('controller' => 'posts', 'action' => 'add'))?>
Id | Title | Action | Date and Time Created |
---|---|---|---|
link($post['Post']['title'], "/posts/view/".$post['Post']['id']); ?> | link('Delete', array('action' => 'delete', 'id' => $post['Post']['id']), null, 'Are you sure?' )?> link('Edit', array('action'=>'edit', 'id'=>$post['Post']['id']));?> |
Created: