Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter and PHP
#1

[eluser]Blues Clues[/eluser]
Hello
I am exploring CI and PHP and wondering if I could include PHP code snippets in <head> tag of HTML code...

for example, I have the following code in <head>.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
&lt;html &gt;
&lt;head&gt;
&lt;?php echo base_url(); ?&gt;
&lt;/head&gt;

&lt;body&gt;
<ul>
<li><a href="#">Home</a></li>
</ul>
&lt;/body&gt;

Any thoughts as to why I would not get any results. My page is blank.


-BC


Messages In This Thread
CodeIgniter and PHP - by El Forum - 06-18-2010, 12:53 PM
CodeIgniter and PHP - by El Forum - 06-18-2010, 01:10 PM
CodeIgniter and PHP - by El Forum - 06-19-2010, 08:14 AM
CodeIgniter and PHP - by El Forum - 06-20-2010, 10:46 PM



Theme © iAndrew 2016 - Forum software by © MyBB