[eluser]HooJee[/eluser]
Hi Guys
Is it possible to set a variable in one view and forward it to another? I tried to no avail. Below is my source code:
Code:
// view1.php
<?php
$message = "No Projects Found";
$this->load->view('ajax/infoBox', $message);
?>
//infoBox.php
<?php echo $message; ?>
The above gives me an error that the var message cannot be foundd.