News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Jonathan Snook's Blog:
Creating a Contact Form in CakePHP 1.2
July 25, 2008 @ 07:58:30

In a new blog post today Jonathan Snook shows how to create a contact form for your CakePHP application (version 1.2).

Most contact forms take a name and feedback from a user and mail it off to the administrator but don't store any information in the database. This tutorial will show how to use CakePHP's models, even when no table is being used.

He shows how to define the model class, set up the mapping of columns to named elements and the code to handle the submit. It just sends a basic email with the contents of the form with a few validation rules to ensure it's not abused. Simple stuff...

0 comments voice your opinion now!
contact form cakephp framework simple beginner tutorial


blog comments powered by Disqus

Similar Posts

ZD Net Asia: Keep your options open with FTP file uploads

Raphael Stolt's Blog: Utilizing Twitter lists with Zend_Service_Twitter

DevShed: Paginating Result Sets for a Search Engine Built with MySQL and PHP 5

Matthew Weier O'Phinney's Blog: Symfony Live 2010 (A message of Interoperability)

Symfony-framework.com: Symfony 1.1 - What’s new?


Community Events





Don't see your event here?
Let us know!


introduction install api library series configure language unittest developer podcast release wordpress threedevsandamaybe bugfix laravel code list community application interview

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework