Welcome Guest, Not a member yet? Register   Sign In
Active Record not showing the result UTF-8
#1

[eluser]souzadavi[/eluser]
Hello, i´m trying to get this done since yesterday, please with some one know any ideia please let me know!! thanks a lot...

I´m getting information from XML

$rss_file = 'http://psyte.uol.com.br/aspx/rss/rss.aspx?s=1';
$xml = simplexml_load_file($rss_file);

//then I define $title with title from XML, working fine.
$title = $xml->channel->item[$i]->title; // this come with value = Rave 2010

$this->Scraps_model->get_cron_topics_search($title)->topic_title;
//I did this because I want to search records from database with this title

// no results
==============================

the problem is when I search from XML I can´t find any result but if I define the search manually like:

$title = 'Rave 2010';
$this->Scraps_model->get_cron_topics_search($title)->topic_title;

this come with results.
=============================

this getting me crazy!!!!! please let me know with anybody have any ideia... thanks!!!!!


Messages In This Thread
Active Record not showing the result UTF-8 - by El Forum - 01-19-2010, 11:41 AM
Active Record not showing the result UTF-8 - by El Forum - 01-19-2010, 01:19 PM
Active Record not showing the result UTF-8 - by El Forum - 01-19-2010, 01:33 PM
Active Record not showing the result UTF-8 - by El Forum - 01-19-2010, 01:44 PM
Active Record not showing the result UTF-8 - by El Forum - 01-19-2010, 01:49 PM
Active Record not showing the result UTF-8 - by El Forum - 01-19-2010, 01:55 PM
Active Record not showing the result UTF-8 - by El Forum - 01-19-2010, 02:15 PM
Active Record not showing the result UTF-8 - by El Forum - 01-19-2010, 04:39 PM



Theme © iAndrew 2016 - Forum software by © MyBB