Email Sending Not Working With Validation |
[eluser]razerone[/eluser]
Hi I just thought would add my email code to validation when I did would validation world not work with email set up Code: <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); Code: <div class="row"> What have I done wrong?
[eluser]noideawhattotypehere[/eluser]
How do you want to validate when your form points to method without any validation?
[eluser]razerone[/eluser]
[quote author="noideawhattotypehere" date="1383228546"]How do you want to validate when your form points to method without any validation?[/quote] Not to sure what you mean. I got validation to work with out my contact function. But when I add my contact stuff validation would not work http://www.development2.carrarawebsiteso.../contactus Click send and you will see validation. This is what I am trying to add on controller Code: $this->email->from($this->input->post('email'), $this->input->post('name')); Code: <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); not to sure also what to put as value been trying to under stand userguide
[eluser]razerone[/eluser]
I am slowly working it out now fixing my errors. Good way I found is this Code: <div class="row"> |
Welcome Guest, Not a member yet? Register Sign In |