CodeIgniter Forums
php not working in the view!!! - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: php not working in the view!!! (/showthread.php?tid=26607)



php not working in the view!!! - El Forum - 01-18-2010

[eluser]Unknown[/eluser]
Hello,

I have just moved my working codeigniter site to a new xampp installation on new computer and now when the view loads the php inside the view doesn't work!! e.g. the addresses in my links have the code <?=base_url()?> in them instead of the base address of the site!!!

Can anyone explain this strange behavior???

Thanks!

jk.


php not working in the view!!! - El Forum - 01-18-2010

[eluser]Dewos[/eluser]
[quote author="kavs" date="1263863366"]Hello,

I have just moved my working codeigniter site to a new xampp installation on new computer and now when the view loads the php inside the view doesn't work!! e.g. the addresses in my links have the code <?=base_url()?> in them instead of the base address of the site!!!

Can anyone explain this strange behavior???

Thanks!

jk.[/quote]

Short Tags Disabled?


php not working in the view!!! - El Forum - 01-18-2010

[eluser]Unknown[/eluser]
That was it!!! thanks a million for replying so fast, you saved my ass!!!
it was driving me mad.
can't believe i've never run into that.
I owe you a pint.


php not working in the view!!! - El Forum - 01-18-2010

[eluser]Dewos[/eluser]
[quote author="kavs" date="1263865047"]That was it!!! thanks a million for replying so fast, you saved my ass!!!
it was driving me mad.
can't believe i've never run into that.
I owe you a pint.[/quote]

Enjoy Smile