Creating Confirmation Screen using Zend_Session

intro
The example to use Zend_Session and create confirmation screen is shown in this article. You can download the source code of this article from here.

1.Create bootstrap.php and config.ini
Create the file application/bootstrap.php with the following content.

Create the file application/config.ini with the following content.
Please modify database.params.* properly.

In this article, we will use the following sql.
2.Create Model
Create the file application/models/Profiles.php with the following content.
3.Create Controller
Create the file application/constorllers/IndexController.php with the following content.
4.Create View
Create the file application/views/scripts/index/index.phtml with the following content.

Create the file application/views/scripts/index/finish.phtml with the following content.

5.Check
Access the web server and check the screen flow.
Next
I will extend this controller.

2 Comments

  1. Hi,

    I’m getting the error:
    Fatal error: Call to a member function getMessage() on a non-object
    on error.phtml

    thanks

Leave a Reply

Your email address will not be published. Required fields are marked *