CodeIgniter and PHP

#4
[eluser]InsiteFX[/eluser]
Code:
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
&lt;html &gt; wrong you have a space here

it should be this
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;

&lt;head&gt;
&lt;?php echo base_url(); ?&gt; this will only showup in source view not on screen
&lt;/head&gt;

&lt;body&gt;
<ul>
<li>Home</li>
</ul>
&lt;/body&gt;
no ending &lt;/html&gt; tag

Also this I hope you are displaying in a view file.

InsiteFX


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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.