• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
RSS Question

#7
[eluser]vinod_ci[/eluser]
Hello guys
i want to write view in a file.
The view contains all data
<summary>&lt;![CDATA[&lt;?=strip_tags(word_limiter($entry->body, 100));?&gt;]]></summary>

$data=$this->load->view('ss/rss',$data,true);

if ( ! write_file('file.php', $data)Wink
{
echo 'Unable to write the file';
}
else
{
echo 'File written!';
}

The file.php contain "Array" text.

My questions is how to write view in a file.


Messages In This Thread
RSS Question - by El Forum - 06-29-2008, 09:48 PM
RSS Question - by El Forum - 06-30-2008, 12:27 AM
RSS Question - by El Forum - 06-30-2008, 12:39 AM
RSS Question - by El Forum - 06-30-2008, 12:46 AM
RSS Question - by El Forum - 06-30-2008, 07:10 AM
RSS Question - by El Forum - 06-30-2008, 10:03 AM
RSS Question - by El Forum - 08-19-2008, 05:25 AM
RSS Question - by El Forum - 08-19-2008, 09:42 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.