Welcome Guest, Not a member yet? Register   Sign In
Php errors
#1

[eluser]pigfox[/eluser]
I get the following error:

A PHP Error was encountered
Severity: Notice
Message: Undefined variable: result
Filename: views/send.php
Line Number: 3

The code:
<h3>
&lt;?
echo $result;
?&gt;
</h3>

$result is set in the controller:
$this->load->view('send', $result);

My error reporting is commented out.
/*
ini_set('display_errors', 1);
ini_set('log_errors', 1);
ini_set('error_log', dirname(__FILE__) . '/error_log.txt');
error_reporting(E_STRICT);
*/

Is this CI related or should I look deeper in my shared server?


Messages In This Thread
Php errors - by El Forum - 03-08-2010, 09:45 PM
Php errors - by El Forum - 03-08-2010, 09:58 PM
Php errors - by El Forum - 03-08-2010, 10:02 PM
Php errors - by El Forum - 03-09-2010, 04:56 AM
Php errors - by El Forum - 03-09-2010, 10:14 AM
Php errors - by El Forum - 03-09-2010, 10:28 AM
Php errors - by El Forum - 03-09-2010, 10:42 AM
Php errors - by El Forum - 03-09-2010, 10:45 AM
Php errors - by El Forum - 03-09-2010, 10:51 AM
Php errors - by El Forum - 03-09-2010, 11:07 AM



Theme © iAndrew 2016 - Forum software by © MyBB