Welcome Guest, Not a member yet? Register   Sign In
Smileys error help me!
#4

[eluser]Amar Babu Boddu[/eluser]
Thanks for the reply rogierb



Controller:
<?php

class Smileys extends Controller {

function Smileys()
{
parent::Controller();
}
function index()
{
$this->load->helper('smiley');
$this->load->library('table');
$this->load->helper('url');
$image_array = get_clickable_smileys('smileys/', 'comments');
$col_array = $this->table->make_columns($image_array, 8);
$data['smiley_table'] = $this->table->generate($col_array);
$this->load->view('smiley_view', $data);
}

}

?>

View:
<html>
<head>
<title>Smileys</title>
<?php echo smiley_js('comments','comments');?>
</head>
<body>

<form name="blog">
<textarea name="comments" id="comments" cols="40" rows="4"></textarea>
</form>

<p>Click to insert a smiley!</p>
&lt;?php echo $smiley_table; ?&gt;
&lt;/body&gt;
&lt;/html&gt;




Can u please tell me where the error is????

Fatal error: Call to undefined function smiley_js() code\application\views\smiley_view.php on line 5


Messages In This Thread
Smileys error help me! - by El Forum - 11-20-2009, 10:47 PM
Smileys error help me! - by El Forum - 02-17-2010, 06:01 AM
Smileys error help me! - by El Forum - 02-17-2010, 06:07 AM
Smileys error help me! - by El Forum - 02-17-2010, 06:13 AM



Theme © iAndrew 2016 - Forum software by © MyBB