Created
March 10, 2013 15:39
-
-
Save ujovlado/5129042 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$model = new User; | |
if(isset($_POST['User'])) { | |
$model->attributes = $_POST['User']; | |
if ($model->validate()) | |
// niečo urob (pošli email, ulož do DB a podobne) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment