CodeIgniter shows strange errors

2

I'm developing a CodeIgniter application, but I've reinstalled the WampServer . In the place where a form existed now shows this code below.

'id', 'value' => $id, 'size' => '6', 'readonly' => 'true')); ?> 
'login', 'value' => $login, 'size' => '15', 'readonly' => 'true')); ?> 
'email', 'value' => $email, 'size' => '30', 'readonly' => 'true')); ?> 
'senha', 'size' => '30')); ?> 
'novasenha', 'size' => '30')); ?> 
'novasenha2', 'size' => '30')); ?> 

What should I do to resolve?

    
asked by anonymous 19.06.2014 / 03:30

1 answer

1

Set <?php to start, because short_open_tag must be off . It is not good practice (because it is better to use this item unchecked because of the servers where you are going to make your site available and the default php opening tag is <?php ), but if you want to edit in your php.ini configuration of short_open_tag :

It should look like this:

short_open_tag = off

put like this:

short_open_tag = on

That is, it is not running code PHP .

    
19.06.2014 / 03:38