News Feed
Jobs Feed
Sections

Recent Jobs

News Archive
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



Similar Posts

DevShed: Using Abstract Factory Classes in PHP 5 to Work with Online Forms

Yahoo Business: WSO2 Web Services Framework for PHP

IBM developerWorks: Java and PHP technology on AIX - Integrate the Java business application w/ DB2

DevShed: Understanding Destructors in PHP 5

Site News: A PHPDeveloper.org Rebirth


Community Events









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


job code conference zend application release releases cakephp mysql developer PEAR package database framework security example book zendframework PHP5 ajax

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