CodeIgniter Forums

Full Version: Urgent ! PHP not loading in views
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]Unknown[/eluser]
Hi,

On my server my pages are not displaying however it is working fine in my local system. I found that the position where the display stops is at <link href=" in the view file.

<link href="<?php echo site_url();?>images/samplecss.css" rel="stylesheet" type="text/css" />

PHP is not executing in the views. Please help me with this as its urgent.

Thanks.
John

El Forum

[eluser]George Ornbo[/eluser]
Have you got error reporting turned on?

What if you type sdafsdfadsfasdfasdf within a PHP tag. Do you see an error?