Author Topic: [SOLVED] form validation codeigniter  (Read 3421 times)

0 Members and 1 Guest are viewing this topic.

Offline mapleleafTopic starter

  • Enthusiast
  • Posts: 237
    • View Profile
[SOLVED] form validation codeigniter
« on: January 25, 2009, 08:57:02 PM »
I am sure this is simple.
New to codeigniter.
When the form validates and sends the invalid inputs back it sends passwords too. As i sha1 them in the validation process they get displayed as sha1 back to the user.
This won't work. Can I validate and not send back some variables or do the sha1 before:
Code: [Select]
$this->db->insert('members', $_POST);Help much appreciated. Not an OO programmer yet.

Offline mapleleafTopic starter

  • Enthusiast
  • Posts: 237
    • View Profile
Re: form validation codeigniter
« Reply #1 on: January 25, 2009, 09:49:21 PM »
Solved.
Simply don't echo back the password. Simple. ::)