Welcome Guest, Not a member yet? Register   Sign In
strange problem in my view,has anyone help me?
#1

[eluser]chmod[/eluser]
I have complete yesterday night in my notebook computer.
then i unzip it in my woking computer PC.
the strange thing is display,the method form_open,form_close,and so on
in <??> which are not be output html,but php code directly,

I try other php file,the display is normal.
why ?

my view file is:
filename: login_tpl.php

Code:
<!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;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt;
        &lt;title&gt;&lt;?=isset($title)?$title:'';?&gt;&lt;/title&gt;
        &lt;!--css link--&gt;
        &lt;link type="text/css" rel="stylesheet" href="&lt;?=CSS_URL;?&gt;index.css" /&gt;
        &lt;!--javascript--&gt;
        [removed][removed]
     &lt;/head&gt;
&lt;body&gt;

    <div id="">
        &lt;?=form_open('center/login/ilogin',array('id' => 'loginform','class' => 'loginform'));?&gt;
            <div><span class="">Username:</span>&lt;input id="user_name" type="text" name="user_name" class="" /&gt;&lt;/div>
            <div><span class="">Password:</span>&lt;input id="password" type="password" name="password" class="" /&gt;&lt;/div>
            <div>&lt;input type="submit" value="go!" /&gt;&lt;/div>
        &lt;?=form_close();?&gt;
    </div>
&lt;/body&gt;
&lt;/html&gt;

the image is belowed:


Messages In This Thread
strange problem in my view,has anyone help me? - by El Forum - 11-24-2008, 12:19 AM
strange problem in my view,has anyone help me? - by El Forum - 11-24-2008, 01:13 AM
strange problem in my view,has anyone help me? - by El Forum - 11-24-2008, 01:19 AM
strange problem in my view,has anyone help me? - by El Forum - 11-24-2008, 01:19 AM



Theme © iAndrew 2016 - Forum software by © MyBB