The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

Show senders details email php help

  • # November 1, 2013 at 1:49 am

    Hi does any one know how to display the senders information on top of the message from website using php codeigniter. At the moment only displays message in the body.

    (Message Body)

    Senders Name: Sample Joe
    Senders Email:
    Senders Subject: Subject Line
    Senders Message:
    Blah Blah Blah
    <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
    class Contactus extends MX_Controller {
        public function index() {
        public function confirmation() {
            $this->form_validation->set_rules('fullname', 'Your Full Name', 'required');
            $this->form_validation->set_rules('email', 'Your Email', 'required|valid_email');
            $this->form_validation->set_rules('subject', 'Your Subject', 'required');
            $this->form_validation->set_rules('message', 'Your Message', 'required');
            if ($this->form_validation->run() == FALSE) {
            } else {
                $this->email->from(set_value('email'), set_value('fullname'));
                //echo $this->email->print_debugger();
Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed