Welcome Guest, Not a member yet? Register   Sign In
End function
#1

[eluser]jav99[/eluser]
Hey there, am wondering: is it possible to use if(end) using the code igniter way to write php?

am interested that instead of writing this:

Code:
<?php if (end($item) == $item_row)
  {    echo ‘last’;
  }?>
<? else: ?><? endif;?>

i could use the code igniter way of doing things like this

Code:
<?php if (end($item) == $item_row):?>

< p > last </ p >
&lt;? else: ?&gt;&lt;? endif;?&gt;

is this possible?


Messages In This Thread
End function - by El Forum - 01-15-2010, 10:51 AM
End function - by El Forum - 01-15-2010, 11:00 AM
End function - by El Forum - 01-15-2010, 11:14 AM
End function - by El Forum - 01-15-2010, 11:24 AM
End function - by El Forum - 01-15-2010, 02:39 PM
End function - by El Forum - 01-16-2010, 09:33 AM



Theme © iAndrew 2016 - Forum software by © MyBB