Welcome Guest, Not a member yet? Register   Sign In
PHP Opening tag -- <? and <?php
#1

[eluser]foobarph[/eluser]
Hi CI guys, I have a quick newbie question (I tried searching about it the net and the forum but i cannot seem to find answer)

How does '<?=$error ?>' work with CI and PHP?

I mean, my PHP doesn't compile this stuff. Is there any substitute for me to make this work?

Concrete examples are below.

Quote:<?=form_open_multipart('upload/do_upload'); ?>
- does not work on my part

Quote:<?php echo form_open_multipart('upload/do_upload'); ?>
- works on my part.

If there is a setting in my PHP file that I should change, please tell me. Thanks!


Messages In This Thread
PHP Opening tag -- <? and <?php - by El Forum - 08-01-2008, 02:47 AM
PHP Opening tag -- <? and <?php - by El Forum - 08-01-2008, 02:58 AM
PHP Opening tag -- <? and <?php - by El Forum - 08-01-2008, 10:48 AM
PHP Opening tag -- <? and <?php - by El Forum - 08-01-2008, 10:53 AM
PHP Opening tag -- <? and <?php - by El Forum - 08-01-2008, 11:10 AM
PHP Opening tag -- <? and <?php - by El Forum - 08-01-2008, 11:23 AM



Theme © iAndrew 2016 - Forum software by © MyBB