Zend Framework Database: Deleting DataTag: framework, zend, zend framework, database, delete, data Category: PHP Frameworkpost: 12 Apr 2008 read: 989 Zend Framework Database Step By Step Tutorial - Part 9: Last action from this series is delete data. For this job, create new method in controller. Open your "UserController.php" within application/controllers. Add new method for delete action (i give name "delAction"):
Next, create a view for this action. Create a file named "del.phtml" within application/views/scripts/user. Enter following code:
Now, try to test from table data. Click link del at one of rows. |
| | Give Your Opinion | Recommend |
|

