In ZF, index.php is not meant for outputting any characters and definitely not the HTML code. It is the entry point to you app. It makes first initializations, like include_path.
The HTML code (<title>Eshop</title> ... ) should go into your process.phtml (or in your .phtml layout script, if you're using it, e.g. common.phtml). If for some strange reason you really want that code there, you should start session manually. <?php ob_start(); ?> <title>Eshop</title> <body bgcolor="#FFFFF1"> <style> However, it is not ZF nor MVC any more. -- View this message in context: http://n4.nabble.com/Trying-to-add-some-data-to-database-from-a-form-tp1599560p1599746.html Sent from the Zend Framework mailing list archive at Nabble.com.
