Submitted forms with Smarty framework

Discussion for various published PHP frameworks, including Zend Framework, CodeIgniter, Kohana, CakePHP, Yii, Symfony, and others.

Moderator: General Moderators

Post Reply
toplisek
Forum Commoner
Posts: 31
Joined: Tue Apr 11, 2006 1:23 pm

Submitted forms with Smarty framework

Post by toplisek »

I have used Smarty based framework.


I have defined variable inside controller file
$var['contact_form'] = true;
$var['contact_form_code'] = " ";

Form:
form id="contact_form" action="URL" method="post">
<p>

<input type="submit" name="contact_form1" value="Send" class="sendclass" />

How to
1. execute store posted values inside variables and
2. form can be submitted after validation is done?
User avatar
getmizanur
Forum Commoner
Posts: 71
Joined: Sun Sep 06, 2009 12:28 pm

Re: Submitted forms with Smarty framework

Post by getmizanur »

can you post your code
Post Reply