[SOLVED ]Undefined variable: config -- PHP error but email is sent. |
[eluser]kristo5747[/eluser]
Greetings! I am a *newbie* and just downloaded CI version 2.0.1. Please bear with me with this long email. I am attempting to write my own email controller like so: Code: <?php If I point my browser to "http://localhost/CodeIgniter/index.php/email", I get this PHP error message Quote:A PHP Error was encountered The line number 24 points to this line of code in my controller Quote:$this->load->library('email', $config); In spite of the PHP error, email is being sent fine, with a file attachment. How can I remove this PHP error? What am I doing wrong? |
Messages In This Thread |
[SOLVED ]Undefined variable: config -- PHP error but email is sent. - by El Forum - 04-05-2011, 01:11 PM
[SOLVED ]Undefined variable: config -- PHP error but email is sent. - by El Forum - 04-05-2011, 02:12 PM
[SOLVED ]Undefined variable: config -- PHP error but email is sent. - by El Forum - 04-05-2011, 02:13 PM
[SOLVED ]Undefined variable: config -- PHP error but email is sent. - by El Forum - 04-05-2011, 02:20 PM
[SOLVED ]Undefined variable: config -- PHP error but email is sent. - by El Forum - 04-05-2011, 03:38 PM
|