Welcome Guest, Not a member yet? Register   Sign In
Why does CI add "" when I try to load pages?
#1

[eluser]Kibret[/eluser]
I was working on a site and I had something like

$this->load->view('includes/header');
$this->load->view('content');
....etc

And I found when I saw the page there is a "" BETWEEN the header and the content, again between the content and the footer etc. How can I avoid them?

Thanks.
#2

[eluser]andrewtheandroid[/eluser]
[quote author="Kibret" date="1257818042"]I was working on a site and I had something like

$this->load->view('includes/header');
$this->load->view('content');
....etc

And I found when I saw the page there is a "" BETWEEN the header and the content, again between the content and the footer etc. How can I avoid them?

Thanks.[/quote]

hey kibret can u post the output. do you mean it adds two quotation marks?

edit: probalby useful if you can post some code that appears in the views too
#3

[eluser]Kibret[/eluser]
I think it was my text editor that added the quotation marks. When I deleted the view files and typed them again, it was fixed.

Thanks anyway.




Theme © iAndrew 2016 - Forum software by © MyBB