[eluser]7amza[/eluser]
Hey
i have a problem using this uri :
site.com/page/{#####}
while {####} is a non ASCII Page Slug, so when i try to get the page from the databse i get en empty result (FALSE)!!
this is the query(using ORM DM):
Code:
$slug = $this->uri->segment(2);
$page = new page();
$page->where('slug',$page)->get();
if($page->exists() == FALSE){
echo "Empty";
}else{
..
}
in the database all is right the slug exists , and if i use an ASCII Page slug it works good !
any help guys?
// sorry for my poor english